How to display the "Variable Editor" of a Request Item record in the record form of another table

bonsai
Mega Sage

I created a custom table (without extensions).
I've implemented a field that references the Requested Item table.

I created an input form using a catalog item.
The "Variable Editor" field of the requested item contains information from the input form.

I would like to display the "Variable Editor" field information of the requested item on the custom table.

Even after looking at the form layout, it doesn't seem possible to implement this.
Is there any way?

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@bonsai 

yes this is possible

check this blog and follow the steps and replace correct field which refers to RITM

Variable editor on child task(other than catalog task) 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Mega Sage

Hi  @bonsai 

 

To see the Variable Editor on any other form, create your own formatter.

  1. Navigate to System UI > Formatters.
  2. Click Create New.
  3. Provide the values for the formatter.
    • If using Fuji or a later release, add the following information:

      Name: Variable Editor

      Formatter: com_glideapp_questionset_default_question_editor

      Table: Select the table whose form you would like to make the formatter available for

      Type: Formatter

      Active: true

    • If using a pre-Fuji release, use the following settings:

      Name: Variable Editor

      Formatter: com.glideapp.questionset.DefaultQuestionEditor

      Table: Select the table whose form you would like to make the formatter available for

      Type: Component

      Active: true

  4. Click Submit.
  5. Navigate to the form, personalize the form, and check that the Variable Editor appears

ref: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0538897

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

SahanaJ
Tera Contributor

Hi,

The VEditor is applicable only for RITMs and catalog tasks. It cannot be used for any other tables.

if you want to bring it to custom table, you can do it using system UI formatter

refer this document: Configure the default variable editor for other tables • Zurich ServiceNow AI Platform Capabilities ...

UmesH77
Giga Guru

Hello @bonsai , 

Yes ,  there is way , 

In ServiceNow, the Variable Editor only appears OOTB on Requested Item (sc_req_item) and Catalog Task forms.

It cannot be added directly to custom tables or other child task tables through Form Layout because it’s a special UI formatter, not a normal field.

To display catalog variables on other tables, you must use a custom UI Macro/Formatter that renders the Variable Editor by referencing the parent RITM (as shown in the linked article).

 

Also refer this :

Can I put the Variable Editor on a new table extended from the Task table?

 

How to add Variable Editor (Formatter) on the Catalog Task page? 

 

Regards, 

Umesh