- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 07:56 PM - edited 12-05-2022 07:57 PM
In UI Page com.glideapp.servicecatalog_cat_item_view there is a tag 'g' looks like it's used to include kind of UI
<j2:if test="$[jvar_cat_item_authorized]">
<div id="cat_item_view" class="" sn-atf-blacklist="IS_SERVICE_CATALOG">
<input type="hidden" id="log_variable_actions" name="log_variable_actions" value="${gs.getProperty('glide.sc.log.variable_actions')}" />
<g:catalog_item />
<j:if test="${new GlideappScriptHelper().isUI16Enabled()}">
<script>
catalogHistory.setHistory('$[HTML,JS:sc_cat_item.name.getDisplayValue()]', catalogHistory.getPageUrl());
</script>
</j:if>
</div>
</j2:if>
Q: what is that tag 'g' use for?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 09:04 PM
I found the solution; the tags 'g' and tag 'g2' in ServiceNow UI Pages are used to include UI Macros.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 08:13 PM
Hello @Mohammed Al-Mar ,
Kindly view the below articles which might answer your query:
Kindly mark as correct based on impact.
BR,
Nayan
Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 09:04 PM
I found the solution; the tags 'g' and tag 'g2' in ServiceNow UI Pages are used to include UI Macros.