When developing an application to run on top of the Pulsar Platform, developers have the freedom to use the wealth of web technology available in the mobile app environment. Pulsar has been successfully used with several popular web frameworks, allowing developers to use some of the same code and techniques they have used in more traditional web development. However, there are a few technologies and methodologies that can be used to improve the developer experience while building a Pulsar-based app.
...
- Start working with the simple examples on GitHub
- Use Promises for continuations
- Keep things modular -- build one library of API calls in the resources
- Use global resources amapas much as possible. This means sharing common functions in common javascript files.
- In code, use 18 character Ids
- Date format should be a valid Salesforce date format
- When building custom HTML pages, be mindful that using a "Submit" button will generally reload the page by default. This may trigger some of your initialization and setup methods to fire an additional time and prevent some asynchronous calls from completing.
- When working with API responses and Salesforce data, always check types and handle errors.
- When working with data expected to contain JSON, be sure to check whether that JSON has already been parsed. Remember that the data you receive has traversed many layers before your code receives it.
Testing/Test Data
We encourage the use of a Salesforce Sandbox to test your code in the Pulsar environment.
...
You can add extra email addresses to receive logs from users by adding to the pulsar.logs.email.cc
Pulsar Setting
On the Windows platform, you can directly view Pulsar logs at the following directory (e.g., from Windows Explorer):
...
Name | Hide HTML Navigation Buttons (Back, Forward, Refresh) |
---|---|
Key |
|
Value | TRUE / FALSE |
Default Value (if any) | FALSE |
Compatibility |
|
Description | This setting will hide the back, forward, and refresh buttons if this setting is specified and set to TRUE. |
Notes/Comments |
Generating PDF files offline - Some best practices
...
...
...