Creating a Custom Pop-Up Page in Model-Driven Apps Using JavaScript and Ribbon Workbench
Here are the steps to create a custom page for implementing a pop-up screen using a canvas app: 1) Components Used in the Canvas App: These components were utilized in the canvas app for implementing the pop-up screen. 2) Onstart of App: Set(rejectdialogue, false); // To control the visibility of the "Are you sure?" alert after the Reject button click. Set(quitdialogue, false); // To manage the visibility of the "Are you sure?" alert after the Quit button click. Set(rejectstatus,false); // To control the visibility of the "Submission Rejected" message. Set(rejected,true); // To control the visibility of the Container Menu. Set(blanktext,false); // To control the visibility for the alert message "*Justification Comment cannot be blank". Set(RecordItem,If(IsBlank(Param("recordId")),Blank(),GUID(Param("recordId")))); // Pass the parameter as the record...