Here’s the complete solution to get your compliance reports working with custom fields. You need to address all three components:
1. Custom Field Internal Name Usage:
The FieldNotFoundException indicates the report can’t resolve your custom field references. First, verify the exact internal names:
- Open ItemType ‘Part’ in Aras Innovator
- Go to Properties tab and find your regulatory fields
- Note the ‘name’ property (not ‘label’) - this is the internal name
- Common mistake: Using display labels like ‘REACH Status’ instead of internal names like ‘reach_status’
- Internal names are typically lowercase with underscores in Aras 14.0
Verify with this AML query:
<Item type="Property" action="get">
<source_id><Item type="ItemType" action="get"><name>Part</name></Item></source_id>
<name condition="like">reach%</name>
</Item>
2. Report Template Mapping:
Your SSRS report template needs explicit field definitions. Here’s how to update it:
a) Download the report RDL file from Aras (Administration > Reports > Export)
b) Open in Visual Studio or Report Builder
c) Navigate to Dataset Properties > Fields tab
d) Add each custom field:
- Field Name: REACH_Status (matches your reference in report)
- Field Source: =Fields!reach_status.Value (uses internal name from Aras)
- Data Type: String (or appropriate type)
e) Repeat for RoHS_Compliant and Conflict_Minerals_Flag
f) Save and re-import the RDL to Aras
The key is matching the Field Name (what you use in report expressions) with the Field Source (the actual property name from Aras). These are often different.
3. Report Cache Rebuild:
Aras 14.0 aggressively caches report schemas. After making changes:
a) Clear server-side cache:
- Navigate to [Aras_Install]\Innovator\Server\temp\Reports
- Delete all cached report files (they regenerate automatically)
- Restart IIS or the Aras application pool
b) Refresh report data source in Aras:
- Go to Administration > Reports
- Find Compliance_Summary_Q2
- Right-click > Refresh Data Source
- This updates the report’s understanding of available fields
c) Update the report query:
- Edit the Report item in Aras
- Go to Report Query tab
- Ensure your AML query explicitly selects custom properties:
<Item type="Part" action="get">
<reach_status/>
<rohs_compliant/>
<conflict_minerals_flag/>
</Item>
- Without explicit selection, custom properties won’t be included in the dataset
Why This Happens:
When you add custom properties to an ItemType after reports are created, three things need synchronization:
- The ItemType schema (your custom properties) - you’ve done this
- The report’s dataset definition (SSRS field mapping) - needs manual update
- The Report Engine’s cached schema (server cache) - needs rebuild
Aras doesn’t automatically propagate custom field changes to existing reports because reports are versioned artifacts. The Report Engine assumes report definitions are static once created.
Validation Steps:
- After implementing the above changes, test with a simple report first
- Create a test report that only queries Part items with your custom fields
- Verify the test report generates successfully
- Then apply the same mapping to your compliance reports
- Run the scheduled report manually first before re-enabling automation
Additional Troubleshooting:
If issues persist, check:
- Property data types in ItemType match report field data types
- Custom properties have data populated (null values can cause rendering issues)
- Report execution identity has read permissions on custom properties
- No special characters in internal property names (use alphanumeric and underscore only)
This approach has resolved similar custom field reporting issues across multiple Aras 14.0 implementations. The key is ensuring the three-way mapping between ItemType properties, SSRS dataset fields, and report queries is perfectly aligned.
This draft is based on general Aras Innovator knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.