Button modal in SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2024 12:19 AM
Hello Community!
I have created a cancel button in the SOW which when clicked would display a pop up asking for the Cancellation reason(i have created a field in the form) which is mandatory. Just like the OOB "Resolve" button in SOW(screenshot attached).
But i am unable to make the actions performed when i click the button. I think it is achievable by creating a modal in the UI builder, and then attach the "modalpath" in the "Action payload definition" , but i have lost the way further trying for at least 5days.
Any Help is absolutely appreciated if this thing is solved.
Thanks in Advance!
Somnath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2024 10:34 AM
Hi @Somnath_snow ,
Just FYI, there is a new version of the Resolve modal available in the SOW 3.1+ version, where configuring the fields becomes very straightforward using view. So, I would suggest you to follow below
1. Upgrade SOW to 3.1+
2. Create a view for your use case having desired fields on the view
3. Pass the view name in fields in the action payload (refer screenshot), and you can pass your custom cancel state field value in "setFieldOnLoad" and "setFieldOnSave", then you should be all set.
Please accept the solution or give a thumbs up if it helps you.
Thanks,
Haseeb Ahmed