Dynamic Form Navigation
We can create multiple forms for an entity and assign form to users based on their role. By default it opens the form which was used last time by the logged in user.
Following is the code to dynamically load a particular form:
1. First get the form Id from Form name
2. Navigate to the retrieved form Id by first comparing the current form with the form you want to navigate to.
Call this function on the OnLoad event of the form.
Cheers!!
Shraddha Dhingra