Regarding the formatter of Variable Editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi all,
I hope everyone is doing well.
I have created a record producer for procurement case table now I want to see all those variables in the case table, so for that early we have a Variable editor so we can get the variables from it.
But now it is not working, the formatter and ui macro script are in active.
Can you please help me out on this?
Thanks,
Bharath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ahoy @bharathk1611333,
your requirement is not clear to me, could you specify:
1) what you (or who) did and where,
2) what happened
3) and what you expected to happen instead?
Also adding some screenshot would make it easier to udnerstand and then help youbetter
✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @glideFather ,
My requirement is to show the record producer variables on the Procurement Case table and for this we are having a Variable Editor in slush bucket which is used to show all the variables related to the table record producer,
now when I am trying to configure the Variable editor from the form builder and form designer I am unable to find it
the formatter is active and ui macro script also active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Bharath,
To view variables for a Record Producer on a custom or Task-extended table (like Procurement Case), you can use the OOTB Task Variable Formatter. If your UI Macro is inactive, use the com.glideapp.questionset.DefaultQuestionEditor formatter, which is natively supported for custom tables.
Could you please specify the tables/applications and other config you did.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
If you are trying to view it in Configurable workspace/SOW then check this KB article:
Resolution
- Issue was related to this custom UI Formatter name "abb_com_glideapp_servicecatalog_veditor"
- In OOB, it starts with "com_glideapp_servicecatalog_veditor" because in the backend we have a check for this if (el.getValue().startsWith("com_glideapp_servicecatalog_veditor").
- If you still want to use custom formatter, then formatter value should be added as a sufffix "com_glideapp_servicecatalog_veditor_abb" (not prefix) .
- Also after correcting the name we should again update the form layout ( remove variable editor from the layout and save and then add it back so that it updates sys_ui_section records correctly )
- We have updated it for sc_task table on the above instance and verified it is working fine
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti