This document about loading the OT2 Viewer mentions that we need to set the search host URL using the following code:
viewer.setSearchHost("https://highlightservice.dev.bp-paas.otxlab.net")
But that endpoint doesn't seem to work for me. I keep getting 404 errors when the page loads and when I am performing a search. Please check this screenshot:
Also, when I try to call the enableMarkup()
function on the viewer, I get the following error:
Apparently, I need to set the markup host URL using the setMarkupHost()
function. But I don't know the correct endpoint for this either.
Please help with the SearchHost & MarkupHost for the OT2 Viewer.