You are viewing limited content. For full access, please sign in.

Question

Question

Web Client URL -- Showing Search Results --but-- I Don't Want It To Show Search Results

asked on December 31, 2024

According to this snippet inside the LF Admin Guide, if you add &openlfoneresult=true to the end of your custom URL, the search results pane should *not* open.

My custom URL opens both the target document in one tab --and-- the search results pane in another tab.

There will only ever be one target document, so I feel like that search results pane shouldn't be opening.

My raw URL:

https://MyLFServer/laserfiche/browse.aspx?db=MyRepo#?search={[HR - Insurance Certificate]:[Event Application ID]="190304"} & {LF:Name="*(Pending)*", Type="D"} & {LF:LOOKIN="MyRepo\Human Resources\Risk\COIs - Special Events\ColorPalooza\2025", SUBFOLDERS=0}&openlfoneresult=true

My encoded URL:

https://MyLFServer /laserfiche/browse.aspx?db=MyRepo#?search=%7B%5BHR+-+Insurance+Certificate%5D%3A%5BEvent+Application+ID%5D%3D%22190304%22%7D+%26+%7BLF%3AName%3D%22%2A%28Pending%29%2A%22%2C+Type%3D%22D%22%7D+%26+%7BLF%3ALOOKIN%3D%22MyRepo%5CHuman+Resources%5CRisk%5CCOIs+-+Special+Events%5CColorPalooza%5C2025%22%2C+SUBFOLDERS%3D0%7D&openlfoneresult=true

>>> It appears that &view=search is being appended to the URL for the Search Results tab when I check it in the browser. <<<

Search Results Tab URL:

https://MyLFServer/laserfiche/browse.aspx?db=MyRepo#?search=%7B%5BHR%20-%20Insurance%20Certificate%5D:%5BEvent%20Application%20ID%5D%3D%22190304%22%7D%20%26%20%7BLF:Name%3D%22*(Pending)*%22,%20Type%3D%22D%22%7D%20%26%20%7BLF:LOOKIN%3D%22LewisvilleImaging%5CHuman%20Resources%5CRisk%5CCOIs%20-%20Special%20Events%5CColorPalooza%5C2025%22,%20SUBFOLDERS%3D0%7D&openlfoneresult=true&view=search

My initial approach was to generate a Web Client URL in Workflow, but that method would only download PDFs whereas the Search Syntax Inside of a URL method will allow the user to view the PDF inside the Web Client without having to download it, so I prefer to use the latter.

I'm trying to cut down on clicks -- I don't want my end user to have to close out the unnecessary Search Results tab in the browser.

Any ideas?

 

0 0

Replies

replied on January 5

Hi Laura,

After a bit of trial and error, I managed to get the search URL to open the document in the same tab...

 

https://MyLF/laserfiche/Browse.aspx?db=MyLF#?search=%7BLF:ID%3D%222595665%22%7D&newtab=disabled

 

Adding the &newtab=disabled did the trick.

The way you mentioned seems to append &view=search regardless. 

I hope this helps. :)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.