- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 11:42 PM
Hi,
I want to know what and where are the scripts that are referred to in g:requires tag stored.
<g:requires name="scripts/app.landingpage_ui/landingPageApp.js" includes="true" />
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2024 02:24 AM
These are internal scripts which you may not have access to edit but you can paste the path in the instance url to see the code
<instance>.service-now.com/scripts/app.landingpage_ui/landingPageApp.js
Thanks
Deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2024 12:48 AM
Hi @Bhavani Shankar ,
Open Table sys_ui_page.LIST and in Filter condition search for HTML contains g:requires you will get the list of all UI pages scripts uses g:requires.
If my response helped, please mark it as the accepted solution ✅ and give a thumbs up👍.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2024 02:24 AM
These are internal scripts which you may not have access to edit but you can paste the path in the instance url to see the code
<instance>.service-now.com/scripts/app.landingpage_ui/landingPageApp.js
Thanks
Deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2024 03:44 AM
g:include_scripts is only used for calling js (UI Scripts) not for css(.cssdbx) but on the other hand g:requires can be used both.