...
Code Block | ||
---|---|---|
| ||
var pulsar = window.parent.pulsar; // Go back to the previous Pulsar page // * only relevant to pages launched from a Pulsar SObject page // * Tab bar pages will be the "root" of that tab, so back will be ignored pulsar.goBack(); // Open another custom document // * Important - you must specify a document Id or title. If both are null, // this method will fail, if you want to open by title, pass null for the Id pulsar.displayContentDocument(aDocumentId, aDocumentTitle, { "someParameter": "a value" }, function () { alert("Document has been displayed."); }); // Show/Hide a Spinner that disables the Pulsar FSL UI pulsar.showSpinner(); // do some time consuming work pulsar.hideSpinner(); // Show/Hide the Pulsar FSL navigation bar pulsar.hideNavBar(); // Your page is responsible for re-displaying the navigation bar pulsar.showNavBar(); |
...