You need to sign in to do that
Don't have an account?

[Visualforce mobile] Sfdc.canvas.publisher.publish and toast message
There is a toast message box after close publisher. But the message box has no message! Does anyone know how to set the message in the toast message box?
Here is the code and screen...
Visualforce mobile code

Screen 2 - the next screen has a toast message but there is no message in it. How to set it?

Here is the code and screen...
Visualforce mobile code
<apex:page > <meta charset="UTF-8" /> <apex:includeScript value="/canvas/sdk/js/publisher.js" /> <script> function closeAction() { Sfdc.canvas.publisher.publish({ name : "publisher.close", payload : { refresh:"false" }}); } </script> <h1>Sample Page</h1> <button onclick="closeAction()">Close Action</button> </apex:page>Screen 1 - click "Close Action"
Screen 2 - the next screen has a toast message but there is no message in it. How to set it?