SharinPix Code Generator
The SharinPix Code Generator provides an interface allowing users to manually add, remove or modify SharinPix Album abilities and features before generating the corresponding code.
In this aticle, we will demonstrate how to:
- Access the SharinPix Code Generator
- Manually set a SharinPix album's abilities/features
- Locate the corresponding code generated
Access the SharinPix Code Generator
To access the Code Generator from your Organisation:
- Click on the App Launcher
- Enter SharinPix Settings in the search bar and select SharinPix Settings
- On the SharinPix Settings page, click on the Go to administration dashboard button as indicated below:
Upon clicking on the button, the SharinPix Administration will open in a new tab.
- Next, from the top menu bar, click on Code Generator. The Code Generator's interface is as shown below:
Set the SharinPix Album's abilities and features
Now that you know how to access the SharinPix Code Generator, go ahead and add some album abilities and features by checking the different options available:
You can also test the abilities and features enabled by adding an image onto the test album available in the Preview section:
Locate the corresponding code generated
Once you are satisfied with the abilities and features added to the album, take a look at the code generated. The code genarated comes in the following formats:
- SharinPix Canvas App
- SharinPix Visualforce Component
- SharinPix Visualforce Component embedded in a Visualforce page along with the corresponding Apex Controller
- Lightning Component embedding the SharinPix Visualforce Component
- Raw Permissions
To access the code generated, simply click on the arrow located on the right-hand side, then click on the Copy Code button.
You can now integrate the same code generated in your own implementation.
You should ensure that you are using the correct album ID format when using the generated code in your own implementation.
The SharinPix Code Generator allows users to either use the Salesforce Record Id directly or a Slaesforce field that stores the album ID to retrieve the correct album ID by making use of the Album Id field in the Information section as shown below:
Add your comment