SaaS CMS has officially launched! Learn more now.

Programatically set serviceUrl and defaultIndex


Is there a way of setting 

<episerver.find serviceUrl="https://xxxx" defaultIndex="yyyy"/>

In the  code at the startup of the application?

Oct 15, 2021 15:38

Bump.. is this not possible to hook in some where to set the settings?

Oct 26, 2021 6:53

There is no official way to set it, but technically you can set the appSettings by code. Just to make sure you do it very early in the life cycle (probably in an IConfigurableModule). I haven't tried it though :) 

Oct 27, 2021 8:03
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.