Try our conversational search powered by Generative AI!

Programatically set serviceUrl and defaultIndex

Vote:
 

Is there a way of setting 

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

In the  code at the startup of the application?

#265151
Oct 15, 2021 15:38
Vote:
 

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

#265656
Oct 26, 2021 6:53
Vote:
 

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 :) 

#265705
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.