Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Locked/unlocked the submitted case at different stages

(0) ShareShare
ReportReport
Posted on by 100
Hello,
I have external agents who will submit the case. I would like to locked/disabled the case as soon as they submit so that they shouldn’t be able to edit the case after submission. But there is scenario if we need more additional info then we would like to unlocked the case again for them to upload documents again. How can I achieve this functionality locked/unlocked in different stages? FYI, I am using Advanced form wizard with BPF.
 
Thanks in advanced 
  • Verified answer
    Rakki Profile Picture
    Rakki 100 on at
    Locked/unlocked the submitted case at different stages
    i have done this issue using fiter criteria in my list. so basically i used fetch xml from the Model driver app where records are saved and used that filter in my list.
     
    Thanks
  • Rakki Profile Picture
    Rakki 100 on at
    Locked/unlocked the submitted case at different stages
    Hello Leah Ju,
     
    it’s not model driven app that I am trying to locked/unlocked. This is functionality looking for power apps portal page. Basically when external agent will submit the application then hide/disabled edit button so that they wouldn’t be able to edit/delete the application. Also we would like to allow external user to edit the application when we need additional documents.
     
    thanks
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Locked/unlocked the submitted case at different stages
    Hi  Rakki,
    You can use Javascript code to lock all controls in the form:
    https://tldr-dynamics.com/blog/lock-form-tab-section-with-js
    I hope you can mark my answer verified if it answer your question! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans