Show/Hide form section tab when UI Action button clicked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 03:15 AM
Hi all
@Ankur Bawiskar @Anand Kumar P
I have a requirement
1. I need to show this PIR data section in "change_task" when I click this "Request PIR" button in change_request it should create 1 "sc_Task" along with this PIR data section should be visible only SC_task created through this "Request PIR" button.
2. remining "sc_task"that are created irrespective to this button no need to show this "PIR data" section in that "sc_task"form.
3.this "Request PIR "buttion should be visible only in "review" state.
4.I have created this "Requested PIR" button using this script bellow mentioned:
Table: change_request
Client check box: Enabled
Onclick: sectionClientScript();
1.
2.
3.UI action script part:
4.task created in Related list
Need your help
Regards
Jyothinath P
condition:current.state=='0'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 08:22 AM
Hello @jyothinath
You cannot use glide record and current keyword into the client script.
for doing so, You need to leverage above code using script include.
Plz mark my solution as Accept, If you find it helpful.
Regards,
Samaksh