Salesforce wave application wizard5/5/2023 ![]() ![]() Build your project to complete this step.Īfter creating the model and building the project, you can use ASP.NET Scaffolding wizards to create the controller and the views.Also, the option to pluralize object names is deselected in this example. The connection settings are saved as SFMarketingCloudEntities. For simplicity, this example saves sensitive information in Web.config. Name the connection and select whether to include sensitive information, such as connection credentials, in the connection string. The default Instance is s7 of the Web Services API however, if you use a different instance, you can set Instance.Ī typical connection string is below: User=myUser Password=myPassword InitiateOAuth=GETANDREFRESH Set UseSandbox to true to use a Salesforce Marketing Cloud sandbox account. Set the User and Password to your login credentials, or to the credentials for a sandbox user if you are connecting to a sandbox account.Ĭonnecting to the Salesforce Marketing Cloud APIsīy default, the data provider connects to production environments. Specify the required connection string properties.Īuthenticating to the Salesforce Marketing Cloud APIs Select CData Salesforce Marketing Data Source in the dialog that is displayed. The Entity Data Model wizard is displayed. In the Entity Data Model wizard, select the option 'EF Designer from database'.In this example, the name of the model is SFMarketingCloudModel. Select ADO.NET Entity Data Model, name the model, and click Add. edmx file from the designer, right-click your Models folder and click Add New Item. You can use your scaffolding with Entity Framework 6 by upgrading to the latest version of MVC. Note that MVC 3 scaffolding and MVC 4 scaffolding do not support Entity Framework 6. See the "LINQ and Entity Framework" chapter in the help documentation for a guide. If you are using Entity Framework 6, you will need to take the preliminary step of registering the Salesforce Marketing Entity Framework provider for your project. In this example, the project name is MvcSFMarketingCloudApp. Create a new MVC project in Visual Studio.This article shows how to use wizards in Visual Studio to drop the CData ADO.NET Provider for Salesforce Marketing into a simple MVC (model, view, controller) project.įollow the steps below to save connection properties and map tables to entities in the data model. ![]()
0 Comments
Leave a Reply. |