Retrieving ServicesPaths / WorkflowBaseUrl
Hi,
Quick question: can I retrieve the ServicesPaths / WorkflowBaseUrl value from the Sitefinity API?
Or do I have to try to manually read it from the config file or something?
Thanks for any help.
Hello Thomas,
You can do that, using our ConfigManager. Here's a sample code that gets the WorkflowBaseUrl:
ConfigManager mng = ConfigManager.GetManager();
var section = mng.GetSection<SystemConfig>();
var url = section.ServicesPaths.WorkflowBaseUrl;
Hi Svetoslav,
Just what I needed, thanks.