You need to sign in to do that
Don't have an account?
AK_Smith
run action onload SF1
Hello!
How to run action="{!save}" and oncomplete="reload()" automaticly on VF page in SF1 without apex:commandButton?
Thank you!
How to run action="{!save}" and oncomplete="reload()" automaticly on VF page in SF1 without apex:commandButton?
<apex:page standardController="Project__c" id="page" docType="html-5.0"> <script> function reload(){ sforce.one.back(true); } </script> <apex:form id="form"> <apex:commandButton action="{!save}" value="Save" oncomplete="reload()"/> </apex:form> </apex:page>
Thank you!
Go through the below link. it may help you to solve your requirement.
http://www.jitendrazaa.com/blog/salesforce/lightning-data-services-standard-controller-for-lightning-components/
Let me know if you need more help.
Regards
Naveen