C
cgontla1
Guest
We can unlock record before launching status page using browser/client side API. Steps: - Go to Object Definition page and click on Buttons tab and Click on New Button. - Provide value for 'Display Label' field and select 'Run client-side JavaScript' radio button. - Provide following code to Button Script text area. rbf_setField("teammember", {!id}, "isLocked", false, false); - Select All pages checkbox inorder to show this button in every page and Save it. - Goto Status/View page of locked record. The newly created button would be available there. Click on that button. - Refresh the page. Note: setField() method will update the value in backend but it takes time to update the UI presentation.( This point is documented). So, we need refresh here. - Observe that record is getting unlocked. Then, we can update fields along with status change.
Continue reading...
Continue reading...