Let me walk you through the complete solution covering all three areas: MQL schema updates, UI form configuration, and cache management.
First, your MQL command needs enhancement. While you created the attribute, you need to ensure it’s properly registered for UI access:
add attribute ReviewCycle type string
modify attribute ReviewCycle add range "value"
modify type DOCUMENTS add attribute ReviewCycle
Second, update the UI form configuration. Navigate to your ENOVIA UI config directory (typically <install>/config/ui/) and locate the document properties form XML file. Add this entry within the form definition:
<Field name="ReviewCycle">
<Setting name="Registered Suite" value="Framework"/>
<Setting name="Field Type" value="attribute"/>
</Field>
For table column visibility, you’ll also need to update the table configuration XML in the same directory. Add ReviewCycle to the available columns list with appropriate display settings.
Third, address the application cache refresh. After making these changes, you must clear ENOVIA’s metadata cache to force the UI layer to reload form definitions. Execute these steps:
- Stop the ENOVIA application server
- Clear the cache directory: `/Windchill/codebase/wt/cache/
- Delete compiled JSP files: `/Windchill/temp/
- Restart the application server
- In the admin console, go to Utilities > Cache Management and click ‘Refresh All Caches’
The key issue is that MQL schema updates operate at the database layer, while UI forms are configured separately in XML metadata files. The application caches these form definitions for performance, so even after updating the XML, you need an explicit cache refresh to make the UI layer recognize the new attribute configuration.
After completing all three steps - enhanced MQL registration, XML form updates, and cache refresh - your ReviewCycle attribute should appear in document properties forms, be available as a table column, and work properly in search filters. The attribute will be visible to all users with document access permissions, and you can further customize its display properties (label, order, required status) through the form XML settings.
If the attribute still doesn’t appear after these steps, check the application server logs for form parsing errors. Sometimes XML syntax issues prevent form definitions from loading correctly, and the logs will show specific error messages about which configuration file failed to parse.
This draft is based on general ENOVIA knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.