Dear Community Members,
Please can you help me understand how and where to specify the location of the Crownpeak Search G2 Proxy Script/Proxy page?
Please note the following action items are complete:
- Search G2 private collection created
- Client certificate procured and base-64 encryption done
- The Proxy page also created that contains the client certificate procured with base-64 encryption
- Search G2 Templates created
- SearcgG2Helper.cs created
- Search Results page created
I have added the below code in our Search Results Template/Output.aspx file (replaced it with our private collection).
cps.endpoint("https://searchg2-restricted.crownpeak.net/%%COLLECTION%%/%%HANDLER%%?%%QUERY%%");
Now, I am not able to understand how will I get a similar code as below for our collection?
cps.searchProxy("{your_proxy_location}?q=%%URLENCODED%%");
Will it be possible to provide the exact steps? Also when I republish the page and check the page in browser I am getting a 404 error.