what is jelly g:requires tag used for ?

Yusuf5
Tera Expert

Hi,

I've come across that in some UI Pages/Macros that <g:requires tag is used but there is no documentation.

What/How is it used for ?

Any code-snippet is appreciated.

Regards

Yusuf

 

 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Yusuf,

Following link should help you:

https://community.servicenow.com/community?id=community_question&sys_id=8d9ccfa5db9cdbc01dcaf3231f9619de

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Thanks Ankur,

 

The links are quite old and cannot find the related sections as mentioned.

Regards

Yusuf

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Yusuf,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

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

AJAY BIRADAR
Tera Contributor

g:requires tag and specify the name= par<ameter as the name of the UI script followed by the .jsdbx extension

example:

<g:requires name="<UI SCRIPT NAME>.jsdbx"/>