To make visible and set mandatory of a field through server side scripting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 06:47 AM
Is making a field visible and mandatory through current. or gs. ,i.e, through server side scripting is possible in UI action scripting ?if yes,please help me with the steps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 06:51 AM
Why would you want to set those SERVER side? You'd be doing it for everyone, not just the client accessing that instance of the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 07:07 AM
Hi Robert,
An UI action is not visible on the portal form,if it is client callable and so i wanted the script in that UI action to be in server side totally.But,I could not find the scripting format for current. or gs. to make field visible/mandatory.
Main problem not with the Native UI but with Portal.
Thanks,
Nitya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 06:53 AM
You can use Data policy to set the fields mandatory on the server side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 07:13 AM
Hi Kalaiarasan,
thank you for your reply,but here i have to give a condition where i have to say OnClick of Button or Form Button is True...something likethis
How to implement this in a correct way?
I.e, How to fetch a UI action(Button) in scripting in UI policy?
Thanks,
Nitya