Apologies for the elementary question
How can I programmatically get hold of the episerver.find url in the web.config e.g.
<episerver.find serviceUrl="http://es-api01.episerver.com/fttdfJbRGb7iq2TTATT0RlXXX/" defaultIndex="brownt_test1"/>
It would be good if I could get the defaultIndex as well. I'm used getting app settings values but not other areas of web.config
Many Thanks for any all help
EPiServer.Find.Configuration.GetConfiguration().ServiceUrl;
That's great. It works. Thank you.
Hi,
How do you get the public url that you need for autocomplete with javascript?
Apologies for the elementary question
How can I programmatically get hold of the episerver.find url in the web.config e.g.
<episerver.find serviceUrl="http://es-api01.episerver.com/fttdfJbRGb7iq2TTATT0RlXXX/" defaultIndex="brownt_test1"/>
It would be good if I could get the defaultIndex as well. I'm used getting app settings values but not other areas of web.config
Many Thanks for any all help