Solved

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

  • 11 October 2023
  • 4 replies
  • 61 views

Badge +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….

 

icon

Best answer by SAMLK 12 October 2023, 05:12

View original

4 replies

Userlevel 4
Badge +11

Hi Narsing,

 

please check the Client-Type of that script.

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

 

Hope it helps.

~Juni  

Badge +6

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!

Userlevel 6
Badge +26

Hi @Narsing Rao 

Try another name. e.g. C_%

Cheers!

Userlevel 4
Badge +12

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>

 

Reply