Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Adding "insert and stay" (copy existing record) UI action to SDCL Scrum Process module

dlrich
Kilo Contributor

What is require to add "insert and stay" (copy existing record) UI action to SDCL Scrum Process module?   That is, what is the effort and level of customization required and what are the risks?

7 REPLIES 7

if possible can you help with script or condition to write to stay on same page and copy created new number. as i tried different scripts that results are not expected.

Thanks,

chavan

Show what you have tried

-Anurag

i have same script above 

doInsertAndStay();
function doInsertAndStay() {
var
saveMe = current;
if
(typeof current.number != 'undefined' && current.number)
current.number = "";
// generate a new number
current.insert();
action.setRedirectURL(saveMe);
}

 

this one that creates new record but wont stay in same page