Retrieving ServicesPaths / WorkflowBaseUrl

Posted by Community Admin on 04-Aug-2018 11:26

Retrieving ServicesPaths / WorkflowBaseUrl

All Replies

Posted by Community Admin on 18-Jan-2012 00:00

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.

Posted by Community Admin on 20-Jan-2012 00:00

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;

Greetings,
Svetoslav Petsov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 20-Jan-2012 00:00

Hi Svetoslav,

Just what I needed, thanks.

This thread is closed