Macro g2:render_component - Component name

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2022 09:57 AM
Hello. In the jelly code of the UI macro "com_glideapp_servicecatalog_veditor" (used in the "Variable Editor" formatter of the sc_req_item and sc_task tables), I believe the line below renders a component which displays the variables in the formatter:
<g2:render_component componentName="com.glideapp.servicecatalog.VEditor"/>
My question is: can this component named "com.glideapp.servicecatalog.VEditor" be found in any table in ServiceNow? Or is it just the name of the UI Macro written in a slightly different way?
Thank you.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 12:12 AM
This was also helpful for me.
However, I see that not all variables are displayed. For example, reference variables get hidden after form is loaded.
Anybody else had the same experience?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 04:15 AM
Hi,
I have some other requirement but the logic is similar to what you have mentioned. I just wanted to know whether you can show this variables on the create new form for like incident which is out requirement. Like our requirement is that when we create a incident which is not from a record producer based on some condition we create the variables for them on the "question_answer" table and the "sc_item_produced_record" table and show the variables on the default view and workspace. But can we show this variables before the record is inserted so they requestor can fill this variables as well. Like we know this tables need sys_id of the current record to be associated with it.
So therefore we wanted to know whether there is any workaround for this.
Thanks for your help