I just got a request to add auto save to ePerformance and after about 30 minutes of searching a I found this thread on the OTN Community Website.
https://forums.oracle.com/thread/2223522
But the javascript was pretty simple and worked well.
<input type="hidden" name="AUTOSAVE" value=""/>
<script
type="text/javascript">
threadLock = false;
function
user_function()
{
//alert('starting process');
var changes =
checkFormChanged(document.%formname);
if (changes &&
!threadLock)
{
threadLock = true;
if ("%page" == "EP_APPR_MAIN1" ||
"%page" ==
"EP_APPR_BASE1")
{
submitAction_%Formname(document.%Formname,"EP_BTN_LINK_WRK_EP_STORE_PB");
}
}
}
window.setInterval("user_function()",15000);
Thanks to whoever left this thread!
Thank you friend for sharing this Peoplesoft Query
ReplyDeleteHi, my page is not getting saved. Something happens on the page on the given interval but the data doesnt get saved to the Database. Any input would be appreciated.
ReplyDeleteThis functionality is delivered in 9.2. What version are you on?
Delete