‎08-05-2017 07:45 PM
Looking for some help,
I need to use native jQuery scripts on my custom application forms.
I created sys_property glide.script.block.client.globals and set it to false as shown in the screenshot below.
But I still see the error (TypeError: $ is not a function) on loading my client scripts.
I work on Geneva instance.
Thank you,
Yogesh
Solved! Go to Solution.
‎08-05-2017 08:34 PM
Hi Yogesh,
You need to create a property with same scoped application and it will work. I just tried and it worked for me. Please follow the below steps, hope this will help you.
Change your application to Test Scope and then create glide.script.block.client.globals with value false in sys_properties.list table (when you are trying to create system property be in your test scoped application then Name will automatically be suffix with scoped application + property name) please refer the screenshot below.
once done then use the below code, with your required field name.
and it will work, see the result below please.
Before:
After:
‎08-05-2017 08:34 PM
Hi Yogesh,
You need to create a property with same scoped application and it will work. I just tried and it worked for me. Please follow the below steps, hope this will help you.
Change your application to Test Scope and then create glide.script.block.client.globals with value false in sys_properties.list table (when you are trying to create system property be in your test scoped application then Name will automatically be suffix with scoped application + property name) please refer the screenshot below.
once done then use the below code, with your required field name.
and it will work, see the result below please.
Before:
After:
‎06-08-2018 02:07 AM
Hi Shishir ,
This is working only for old records. when I am creating new record and selecting value in reference field ,the icon-info is still appearing.
Please help me on this ..
Thanks in advance
madhuri
‎06-08-2018 03:38 AM
Hi shishar,
Above mentioned procedure is working while iam creating new records, It is only working for old records.
Please help me with this..
While creating a new record it is not displaying information icon beside the reference field but after selecting any value reference value, information icon is appearing.
thanks in advance,
madhuri
‎08-05-2017 09:29 PM
Hello Yogesh,
In the standard forms UI (eg client scripts, client ui actions) - by default, we block access to the DOM and certain top-level globals (window, document, $ / jquery). You can enable an application-specific property to gain access to the DOM.
You can enable an application-specific property to gain access to the DOM. This provides a good tradeoff by setting a default with best practice guard rails, and allowing a developer to take explicit action to opt out of the best practice.
To opt out of the best practice create the following property in your scope and set it to false. glide.script.block.client.globals