This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jwt | |
import requests | |
import datetime | |
from simple_salesforce import Salesforce | |
from simple_salesforce.exceptions import SalesforceAuthenticationFailed | |
def jwt_login(consumer_id, username, private_key, sandbox=False): | |
endpoint = 'https://test.salesforce.com' if sandbox is True else 'https://login.salesforce.com' | |
jwt_payload = jwt.encode( | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.CPEF .nettotal { | |
visibility:hidden; | |
} | |
.CPEF #Externalsite\3A externaleve\3A ExternalEventfun1\3A anonymous_totalsummary strong { | |
visibility: hidden; | |
} | |
.CPEF #Externalsite\3A externaleve\3A ExternalEventfun1\3A Anonymous_FinalTotalSummary strong { | |
visibility: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import unicodecsv | |
templates = {} | |
templates["Checkbox"] = """ | |
<fields> | |
<fullName>%(fullName)s__c</fullName> | |
<defaultValue>false</defaultValue> |