Custom Attributes are
available in IFS Aurena. This includes Custom Attributes created as Custom
Fields in IFS Enterprise Explorer. Custom Attributes are added to pages in IFS
Aurena using the Page Designer.
In IFS Enterprise Explorer, create the Custom Field on the Logical Unit corresponding to the IFS Aurena Page where you would like to place the Custom
Field. Approve and Publish the Custom Field. (To learn more about creating
Custom Attributes in IEE refer
Create Custom Attribute)
For Persistent, Read-Only and Local Custom Attributes
Go to the page in IFS Aurena where the Custom Field is to be added.
Open the Page Designer.
In Content, drill down to the element where you would like to add the Custom Field. Click on the symbols next to the element to get to the element in the Libraries section.
For that element, press on the ‘+’-symbol visible when hovering over
“Content”.
Pick Attribute value. Available Custom Fields are prefixed with ‘Cf_’.
Press Insert
The Custom Field is now visible in the Preview Area.
Now you can Save and Publish the configuration.
For Persistent Reference Custom Attributes
A selector and a list will be generated in Page Designer.
In the Page Designer under the Selectors a new Selector should be generated
with the name prefix CPEGEN_. This is the Selector for the LOV. User can
edit this selector if desired.
In the Page Designer under the Lists a new List should be generated with the
name prefix CPEGEN_. This is the List to be used for the LOV advanced
search. User can edit this selector if desired.
New reference type field will be added to the visual component.
Custom reference display text should be visible in the drop down and as
the select value, the list of value advance search should be functional with
additional fields. Now the Custom Attribute is working and possible to
publish to users.
Limitations
Text data type Custom Attributes defined as multiline fields needs to be set
manually in the Page Designer in IFS Aurena. This can be done by checking the
‘Multiline’ property checkbox for the Custom Attribute.
If a Custom Attribute is not showing up in the Page Designer in IFS Aurena as
expected, go through below steps:
Verify that the Custom Attribute is Published
Check if the page element is using the correct Logical Unit:
Open the Debug console from the User Menu
Go to the Page Info tab to find the Element where you want the Custom Attribute to appear
Verify that the Logical Unit is the expected one (where you have defined the Custom Attribute)
If Logical Unit is not there, then check against the view (See Step 4)
Try refreshing the OData Cache: [main|b2b]/ifsapplications/projection/ClearCache?METHOD=CLEAR_PROJECTION_CACHE&VALUE=[*|ProjectionName]
Check if the view used in the related element/page is approved and supported:
Open the debug console
Go to the Server Invokes tab
Click on the Server call which is fetching the data, usually the naming can be used to figure this out
In the right side in the debug console, select the SQL button to filter only the SQL executions
In the SQL; find the View used by searching for the FROM part of the SQL. (If needed, format the SQL to make it easier)
Check if this view is approved.
If you have multiple views in the FROM or if there are any calls to methods, then Custom Attributes will not be allowed on it.