Skip to content

Attribute Configurations on Pages

Custom Attributes are available in IFS Cloud and are added to pages using the Page Designer.

Types of Custom Object Attributes

  • Persistent
  • Read-Only

Create a Custom Attribute

Steps to follow for all Custom Attributes (For Persistent/ Read-Only Custom Attributes )

Create the Custom Attribute on the Entity corresponding to the IFS Cloud Page where you would like to place the Custom Attribute. Approve and Publish the Custom Attribute (To learn more about creating Custom Attributes, refer Create Custom Attribute).

  1. Go to the page in IFS Aurena where the Custom Attribute is to be added.
  2. Open the Page Designer.
  3. In Content, drill down to the element where you would like to add the Custom Attribute. Click the element name link to get to the element in the properties window.
  4. For that element, click on the ‘+’-symbol visible when hovering over “Content”.
  5. Pick an Attribute value from the dropdown menu . Available Custom Fields are prefixed with ‘Cf_’.
  6. Click the tick mark on the dialog window after configuring other available properties as per the need.
  7. The Custom Field is now visible in the Preview Area.
  8. Now you can Save and Publish the configuration.

For Persistent Reference Custom Attributes

A selector and a list will be generated in Page Designer.

  1. 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.

  2. 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.

  3. 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 Cloud. This can be done by checking the ‘Multiline’ property checkbox for the Custom Attribute.

Trouble shooting Guide

If a Custom Attribute is not showing up in the Page Designer in IFS Aurena as expected, go through below steps:

  1. Verify that the Custom Attribute is Published.
  2. Check if the page element is using the correct Entity:
    1. Open the Debug console from the User Menu
    2. Go to the Page Info tab to find the Element where you want the Custom Attribute to appear
    3. Verify that the Entity/Logical Unit is the expected one (where you have defined the Custom Attribute)
    4. If Entity is not there, then check against the view (See Step 4)
  3. Try refreshing the OData Cache: [main|b2b] /ifsapplications/projection/ClearCache?METHOD=CLEAR_PROJECTION_CACHE&VALUE= [*|ProjectionName**]

  4. Check if the view used in the related element/page is approved and supported:

    1. Open the debug console
    2. Go to the Server Invokes tab
    3. Click on the Server call which is fetching the data, usually the naming can be used to figure this out
    4. In the right side in the debug console, select the SQL button to filter only the SQL executions
    5. 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)
    6. 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.