Hi there! I have CRM Online instance.
Please could you tell me how to get Organization URL in workflow code?
I have C# based CodeActivity dll. And I need full url of organization. But I can not find solution(
I have variables in my cod:
IWorkflowContext context = executionContext.GetExtension<IWorkflowContext>();
IOrganizationServiceFactory serviceFactory =
executionContext.GetExtension<IOrganizationServiceFactory>();
IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
But I have found only OrganizationName and OrganizationId (guid) properties.
*This post is locked for comments
I have the same question (0)