- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-29-2024 12:59 AM - edited ā08-29-2024 01:51 AM
Hi!
I have a select box where I have choice1,choice2,choice3,choice4,choice5. If the requested for user is belongs to company record field 'u_field_name1'==true or 'u_field_name2'==true then I need to show all five options else I need only first two options. For this I have created a client callable script and created a on change catalog client script. But some how this is not working.
Can some one explain me how can I achieve this and what am I doing wrong. Posting my code here
ScriptInclude:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-29-2024 03:50 AM
Found what is wrong. I have added a role ACL which is not allowing other users to run the script. So added
isPublic:function(){return true;},
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-29-2024 03:27 AM
Yes.... I just put the code as reference. But I am using u_ for my fields as they are custom fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-29-2024 03:37 AM
Can you please share the complete Script Include and Client Script ? Also, I can see you have an alert in the client script. Are you getting any output from your client script via that ?
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-29-2024 03:50 AM
Found what is wrong. I have added a role ACL which is not allowing other users to run the script. So added
isPublic:function(){return true;},