I have a created a button on a form that when clicked will open a document from Laserfiche in a browser using web access. The button doesn't know the document ID and so does as an advanced search, once found it opens it in the same browser as the form.
Doing it this way unfortunately opens two browser windows, one for the web access search and one for the document. Is there anyway I can just limit it to the window with the document in ? The document name is selected from a table of document titles and dynamically added to the buttons href, hence the advanced search in the href.
<input class="btn_webaccess" onclick="window.open(href='https://server/laserfiche/Browse.aspx?repo=repository#?search={LF:name="PO-16-1555",type=D}');return false" value=" PO-16-1555" type="button">