asked on June 2, 2016 Show version history

Anyone know if it is possible to not open so many windows or tabs when running Laserfiche URL's?

For example, we have a Form with HTML links on them.  These links can launch to another form or launch searches in WebAccess.  One link does the following:

 

<a class="sumlink" id="a2" onclick="window.open(href='http://servername/laserfiche/Browse.aspx?repo=repository#?search={[Template]:[Field]='+document.getElementById('Field1').value+'}&amp;{LF:Name=*, Type=D}&amp;view=search'); return false">Link Name</a>

 

Basically passes a variable and runs a template search.  This works, but from the master form, clicking the link opens a new IE Window.  Then the search is run and if one document is found it opens that document, but in yet another tab of that window.  Anyway we can stop that behavior (or have the document open in the same tab if found) to prevent so many new windows?

 

Thanks,

Chris

0 0