Announcements
Hello, guys!
I'd like a user not to do anything after he pressed a button in model driven main form. My MD app has to check smth for a few seconds. Is there a standard way to lock window/form/interfase?
Maybe it is possible to use jquery+blockUI, is there the example?
Hi @Max77,
To build such functionality, you need a rectangular shape control and a timer.
When the button is pressed, it should trigger the timer control by setting a variable to true. The same varaible should then be set to false at the Timer.OnTimerEnd property.
The same variable can then be used for the Visible property of the shape control which should cover the entire screen.
By building this, the shape will block the UI as long as it is visible. The length of time is determined by setting the Duration property on the Timer control.
@BCBuizer , thank you! But you tell about canvas app, I need to realize that functionality in model driven with JS.
Xrm.Utility.showProgressIndicator solves the issue.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 477
WarrenBelz 341 Most Valuable Professional
11manish 317