Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Managed real-time forms

(0) ShareShare
ReportReport
Posted on by 2
/In our outbound marketing forms, we've implemented a toggle system. When the toggle is set to 'No,' it indicates that the form is editable, while setting it to 'Yes' renders the form uneditable. Access to toggling this feature to 'No' is restricted to users holding an admin role. How can I replicate this functionality for real-time forms?
 
 
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Managed real-time forms
    Hi,

    I'm afraid that's not possible.
    In my tests, I added a single radio button, Managed, and applied field-level security to make this button visible only to the administrator.
     
    Then add a column change event to this button, by sending the webapi to change the statecode field of the form to 1, i.e. set the form to Inactive state, so that the form is not editable.
     
    Then, add an onload event to the form where the Edit button is hidden if the Managed field is Yes and the currently logged in user is not the system administrator.
     
    However, the system administrator cannot click the Managed button in edit mode to take the form out of read-only mode.
     
    In summary, it is possible to click the button to make the form read-only, but it is not possible to click the button again to exit read-only mode.
     
    Best Regards,
    Dengliang Li
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 106

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

Overall leaderboard

Product updates

Dynamics 365 release plans