Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Contact/Consumer Lookup panel not found on Case Record Page in UI Builder (CSM Workspace)

suvarnarao
Tera Contributor

How to trace a UI Builder macroponent (component-id) back to its page in CSM Workspace?

 

CSM Workspace: Case Contact/Consumer Lookup panel — where is it configured in UI Builder?

When a case is created and contact or consumer is empty 

suvarnarao_0-1785740664979.png

This is getting populated above case form 

when customer is added or consumer is added 

suvarnarao_1-1785740737606.png

 

1 REPLY 1

Suryansh Verma
Tera Contributor

@suvarnarao 

A UI Builder component ID is a page-local identifier used in bindings and scripts. UI Builder stores the page component hierarchy and configuration in the Composition field of the UX Macroponent Definition record. Component IDs normally appear there as elementId.

 

You can try running a background script if that helps

 

(function findUIBuilderPage() {

    // Enter either:
    // 1. The component-id / elementId from browser DevTools, or
    // 2. The sys_id of the macroponent component definition
    var searchValue = 'enter_COMPONENT_ID_here';

    var macroponent = new GlideRecord('sys_ux_macroponent');
    macroponent.addQuery('composition', 'LIKE', searchValue);
    macroponent.orderBy('name');
    macroponent.query();

    gs.info('=== UI Builder macroponent search: ' + searchValue + ' ===');

    var count = 0;

    while (macroponent.next()) {
        count++;

        gs.info(
            'Name: ' + macroponent.getDisplayValue() +
            ' | Category: ' + macroponent.getDisplayValue('category') +
            ' | Scope: ' + macroponent.getDisplayValue('sys_scope') +
            ' | Sys ID: ' + macroponent.getUniqueValue() +
            ' | URL: ' + gs.getProperty('glide.servlet.uri') +
                'sys_ux_macroponent.do?sys_id=' +
                macroponent.getUniqueValue()
        );
    }

    gs.info('Total matches: ' + count);

})();

 

In UI Builder you can also try navigating to

 

  1. All -> Now Experience Framework → UI Builder
  2. Open CSM/FSM Configurable Workspace
  3. Under Pages and variants, expand Record
  4. Open Front-line case page
  5. In the content tree, search for:
    • Contact lookup
    • Consumer lookup
    • Lookup
  6. Select the component and review:
    • Component label
    • Component ID
    • Properties
    • Data bindings
    • Visibility
    • Event handlers