public override async Task Initialize() { //In initial config, just create a DDLB //to let the user select which object they want to save. var whatKindOfData = new DropDownList { Name = "sfObjectType", Required = true, Label = "Which object do you want to save to Salesforce.com?", Source = null, Events = new List <ControlEvent> { new ControlEvent("onChange", "requestConfig") } }; AddControls(whatKindOfData); ActivitiesHelper.GetAvailableFields(ConfigurationControls, "sfObjectType"); }
public override Task Initialize() { ActivitiesHelper.GetAvailableFields(ActivityUI.SalesforceObjectList); return(Task.FromResult(0)); }