/
Create a New Account
Create a New Account
This code block populates a new Account in Salesforce from Sitecore.
Account account = new Account(); account.Name = "FuseIT"; SalesforceSession salesforceSession = new SalesforceSession(new LoginDetails("username@example.com", "salesforcePassword")); AccountService accountService = new AccountService(salesforceSession); var saveResult = accountService.Insert(account); string newAccountId = null; if (saveResult.success) { newAccountId = account.Id; } Assert.IsTrue(accountService.ValidEntityId(newAccountId));
, multiple selections available,
Related content
Create a new Person Account
Create a new Person Account
More like this
Update an Existing Account
Update an Existing Account
More like this
Search for an Account by Name
Search for an Account by Name
Read with this
Install Security Connector for Account Lookup (Optional)
Install Security Connector for Account Lookup (Optional)
More like this
Install Security Connector in Sitecore for Account Lookup
Install Security Connector in Sitecore for Account Lookup
More like this
Establishing a Salesforce Session
Establishing a Salesforce Session
Read with this