Hi,
first I will let you know what I am trying to achieve.
I got an readyOnly form and my client wants a custom button to edit only one field (a status).
So far I did manage to create a custom button, however I have not the expertise to write a javascript in order to link the button with a form neither to make the form appear as a pop-up window.
Could anyone provide me help with writing a javascript to link a button to a specific form plus to let the form appear as a pop-up on the onlick event.
Thank you very very much!
Hi, do you need it to be via a pop-up window?
The easiest/simplest way to achieve your requirement, would be having your Entity Form as Edit mode, and set all fields (besides your status field) as read-only in the Dataverse form.. this way those fields wouldn't be updated when you submit the form
another thing to mention is that if the status field is the OOB Status Reason, I have the feeling you can't update that via Portals, you would need a workflow or Web API to update that
Another possible approaches for what you need:
Lucas001
60
Super User 2025 Season 1
Fubar
55
Super User 2025 Season 1
surya narayanan
35