Skip to main content
Solved

client script is not listed to place on a field in UI

  • October 11, 2023
  • 4 replies
  • 72 views

Forum|alt.badge.img+6

Dears,

 

Unable to See my client script in the list to place on a field in the Screen.

 

 

There are lot of Client scripts which are also active, but the list shows up to ‘FS’ naming convention.

 

Help me out….

 

Best answer by SAMLK

Hi @Narsing Rao ,

Hope you have refreshed the cache and opened up a new screen before searching for the client script which you have created. 

Also, get a count of the custom client scripts in the environment and share the number with us?

select count(1) from cust_client_script

if you have more than 1000 records (including both the cust_client_script + fsm client scripts) perhaps you might need to extend the ROW_LIMIT app param (which is set to 1000 by default) and check this. Make sure to reset the row limit back if this worked out.

In case if nothing made it work, perhaps try to add the client script manually if you are familiar working with the xml editor. 

<events>
<event>
<name>AfterValueChanged</name>
<client_script_id>YOUR_SCRIPT_ID__0</client_script_id>
</event>
</events>

 

4 replies

JuniSihombing
Hero (Customer)
Forum|alt.badge.img+11
  • Hero (Customer)
  • October 11, 2023

Hi Narsing,

 

please check the Client-Type of that script.

“Mobile Only” will not be shown in UI Designer.

 

Hope it helps.

~Juni  


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Partner)
  • October 11, 2023

Dear @JuniSihombing ,

 

The Client type of the script was Web Client only, but still the list was restricted to certain alphabet such as ‘F’.

And we also have others scripts with name ‘S’.

 

cheers!


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • October 12, 2023

Hi @Narsing Rao 

Try another name. e.g. C_%

Cheers!


SAMLK
Hero (Partner)
Forum|alt.badge.img+14
  • Hero (Partner)
  • Answer
  • October 12, 2023

Hi @Narsing Rao ,

Hope you have refreshed the cache and opened up a new screen before searching for the client script which you have created. 

Also, get a count of the custom client scripts in the environment and share the number with us?

select count(1) from cust_client_script

if you have more than 1000 records (including both the cust_client_script + fsm client scripts) perhaps you might need to extend the ROW_LIMIT app param (which is set to 1000 by default) and check this. Make sure to reset the row limit back if this worked out.

In case if nothing made it work, perhaps try to add the client script manually if you are familiar working with the xml editor. 

<events>
<event>
<name>AfterValueChanged</name>
<client_script_id>YOUR_SCRIPT_ID__0</client_script_id>
</event>
</events>