examples and utilities for salesforce developers
create a 'credentials' file inside ./utils
folder like so: (replace info with your own)
# utils/credentials
SF_USER="my-user@some-domain.com"
SF_PASS="my-password"
SF_TOKEN="my-security-token"
../utils/deploy.sh
Application which integrates SamanageCMDB 4 Salesforce and ScienseLogic SL1
Execute one refresh cycle:
SL1Test.refreshDevices('SL1user', 'SL1password', 'last-refresh-date-unix-time');
deploy:
./deploy.sh
Some standalone useful example classes:
- create in the ORG a image that can be accessed without need for salesforce user/password and return its public URL as String that can be used in a HTML document (for example)
- render email template to string
- merge merge-fields into a 'template' contained in a string
Use a lightning component to display a record on a Visualforce Page Deploy: utils/deploy Activate: https://c.gus.visual.force.com/apex/EetayShowRecord