I want to make the field of the stages in BPF as read only. Is it possible?
Also Can we disable next and previous button in stage of BPF?
I am using Dynamics 365 Unified Interface.
Thank you
Regards
Hi!
You can disable (lock/make read-only any field on a stage of a BPF and you have two options:
First option using Business Rules:
Create business rules and recommendations to apply logic in a model-driven app form
docs.microsoft.com/.../create-business-rules-recommendations-apply-logic-form
A scenario with Business Rules is described here:
Making a Field Read-only On a Business Process Flow
www.magnetismsolutions.com/.../making-a-field-read-only-on-a-business-process-flow
Second option using JavaScript:
setDisabled (Client API reference)
docs.microsoft.com/.../setdisabled
Controls collection (Client API reference)
docs.microsoft.com/.../controls-collection
A third party article of this:
How to apply script on Header fields and BPF fields
Finally, disabling the next and previous buttons is NOT supported. A workaround is to make a field or all fields mandatory so users can't go next, but nothing can be done not to go to the previous stage.
Regards.