With Microsoft Dynamics CRM 2015, the Xrm.Page.data.process namespace provides events, methods, and objects to interact with the business process flow data in a form.
This sample demonstrates how to switch to different stage using the new Xrm.Page.data.process methods.
Followings are the API used in the sample code:
getActiveProcess() – retrieve information about the active process
setActiveProcess()- Set different process as the active process.
getActiveStage()- retrieve information about the active stage
setActiveStage() – set a different stage as the active stage.
getActivePath() – get a collection of stages currently in the active path with methods to interact with the stages displayed in the business process flow control.
addOnStageChange(),removeOnStageChange() – add or remove event handlers for the business process flow control.
addOnStageSelected() – add a function as an event handler for the OnStageSelected event so that it will be called when a…
View original post 453 more words
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.
