You need to sign in to do that
Don't have an account?
khillan bhardwaj
Salesforce1 Publisher Action Submit Button Hidden
I have a custom Vf page publisher action,
My objective is to hide/ rename "Save" button.
I have used following code. by following code "Save" button is enabled and we can perform any javavascript action.But i want to hide/rename "Save" button in salesforce1.
If someone has any idea please let me know.Help is really appreciated.
Thanks
Khillan
My objective is to hide/ rename "Save" button.
I have used following code. by following code "Save" button is enabled and we can perform any javavascript action.But i want to hide/rename "Save" button in salesforce1.
<script type='text/javascript' src='/canvas/sdk/js/publisher.js'></script> <script> Sfdc.canvas.publisher.subscribe({name: "publisher.showPanel",onData:function(e) { Sfdc.canvas.publisher.publish({name:"publisher.setValidForSubmit", payload:"true"}); }}); Sfdc.canvas.publisher.subscribe({ name: "publisher.post", onData: function(e) { //alert("any javascript call"); Sfdc.canvas.publisher.publish({ name: "publisher.close",payload:{ refresh:"true" }}); }}); </script>
If someone has any idea please let me know.Help is really appreciated.
Thanks
Khillan
I believe there is not immediate way to achieve this. What you could do however is to hide the quick action header by setting the showQuickActionVfHeader attribute of your apex:page to false and to render your own header instead.
HTH,
Magnus