CUI FAQs

From AgileApps Support Wiki

1. How do I view the Object ID?

  1. Go to Settings > Customization > Objects > {object}.
  2. Click Object Properties.
  3. The object ID appears on the page.

2. How do I view the record Id?
You can view the Record ID from the Records View component <ace-records-table-view>.

3. How do I view the layout ID of an object form?

  1. Go to Settings > Customization > Objects and select the object.
  2. Click Forms and select the form layout.
  3. Inspect the Form tab in the Dev tool window.
  4. Inside showLayout method, you can view the layout ID.

4. What is the difference between an Event and a Method?
You use a Method to execute a pre-defined action on the component. However, Events are dispatched by the elements on the occurrence of certain internal events. You can subscribe to events, but the methods cannot be subscribed.

5. Why do we see two components for table? what is the difference between them?
The <ace-table-grid> components is used to display the records of a specific object based on defined criteria known as filters. Whereas, the <ace-records-table-view> is used to display the records from a pre-defined view which is already configured using the view configurator.

6. For "column-meta" input attribute in the Table-grid component, are all field types documented anywhere? Where can one find the reference to these? For example, for the Text field, the type is STRING. What is the value for Lookup, Picklist, and so on?
The following list shows all the field types:

  • Check box = BOOLEAN
  • Currency = CURRENCY
  • Date = DATE
  • Date time = DATETIME
  • Dependent Picklist = DEPENDENT_PICK_LIST
  • Email Address = LEAD_EMAIL
  • External Lookup = EXTERNAL_LOOKUP
  • File Field = FILE_FIELD
  • Formula = FORMULA
  • Global Picklist = GLOBAL_PICK_LIST
  • Geolocation = GEOLOCATION
  • Image Field = IMAGE_FIELD
  • Lookup = LOOKUP
  • Multiple Check Boxes = MULTI_CHECK_BOX
  • Multi Object Lookup = MULTI_OBJECT_LOOKUP
  • Multi Select Picklist = MULTI_PICK_LIST
  • Number = NUMBER
  • Number with Decimals = DOUBLE
  • Percentage = PERCENT
  • Phone/Fax = PHONE
  • Picklist = PICK_LIST
  • Radio Buttons = RADIO_BUTTON
  • Rich Text Area = RICHTEXT_AREA
  • Rollup Summary = ROLLUP_SUMMARY
  • Text Area = TEXT_AREA
  • Text Field = TEXT_FIELD
  • Time = TIME
  • URL = URL

7. How to obtain the view-id value for the Record Table View component?
You can obtain the view-id value by subscribing to the “selectionChange” event. This event sends the information about the selected view in an Object format.

8. How can we use the filter-query for Table grid component?
A filter query defines the search criteria for a table. For more details, see REST_API:Filter_Expressions_in_REST_APIs.