Tip | ||
---|---|---|
| ||
S4S strongly types The FuseIT SFDC Explorer can strongly type standard Salesforce objects in C#.NET. Developersfor use with S4S. Developers can strongly type custom Salesforce records and fields or, alternatively, refer to these entities by their string name. There are advantages to both approaches. If choosing the strongly typed path, the custom entities need to be initially generated in C# and regenerated if changes are made to these objects in Salesforce. |
If your coding preference is strongly typed C# objects over using string names to access custom fields in Salesforce then this can be achieved using the T4 template generation tab inĀ FuseIT SFDC Explorer. There is a tab that is specifically for this purpose. Just drag the entities in the left panel to the surface and generate strongly typed C# custom objects that can be used in your Sitecore code. Note that you may need to make some namespace changes to the generated code.
...