Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Advanced search URL parameters

Status
Not open for further replies.

dnLL

Programmer
Oct 16, 2012
7
CA
Hi,

I'm new to the Livelink world and I'm actually trying to find the URL of my advanced search parameters. With the Web interface, I'm able to scope my search into a specific folder (and its subfolders) and it works pretty well. However, the URL doesn't show the parameters.

After some searches, I found this:

Here is the URL I actually have:

Code:
[URL unfurl="true"]https://myLivelinkServer/livelink/livelink.exe?func=search&where1=128+54+509[/URL]

I get ~12500 results, which is fine.

Now, this this URL:

Code:
[URL unfurl="true"]https://myLivelinkServer/livelink/livelink.exe?func=ll&objId=113272648[/URL]

I can see that the 113272648 folder has 48 elements (no subfolders). This is the folder I want to search in for the string "128 54 509". In this folder, there should have like ~15 elements out of the 48 total that should be found with the search string.

I tried this:

Code:
[URL unfurl="true"]https://myLivelinkServer/livelink/livelink.exe?func=search&where1=128+54+509&OTLocation=113272648[/URL]

Instead of the ~12500 results, I get anything between 10000 and 12000 results. For some reason, refreshing the pages change the number of results. I guess that users from the enterprise opening/editing/adding/deleting documents can have an impact there, but it seems like a really big impact actually. And as you can see, my search isn't scoped at all.

Why isn't the OTLocation parameter working correctly? I thought it could be disabled, but as I'm able to do it with the interface without any problems, I figured out it is actually enabled. What am I doing wrong there?

Thank you
 
I don't see how this actually helps me. I don't have access to the "Knowledge database", I registered but it says "We’re sorry, your account does not grant you access to this website."

I have already seen all the other forum links you provided me. As far as I know, the scopeId can't help in this situation because I only get choise between Enterprise and Help (and 2 others), not for any specific folder.

Can anyone tell me how to limit the search to a specific folder within the URL parameters (or if it is possible or not)?

Those links don't even talk about it:

(I saw those before my original post, obviously)
 
communities.opentext.com does not need an account it is a self registering site
you will find plenty of search examples including what you want right now there


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Found this:

Code:
[URL unfurl="true"]https://myLivelinkServer/livelink/livelink.exe?func=search&where1=128+54+509&boolean2=and&where2=%28%22OTLocation%22%3A%22113272648%22%29[/URL]

The folder ID (113272648) is located between the two last %22 in the OTLocation whereX parameter. It does work.
 
However, I have another problem, still with URL get parameters. I want the following condition pattern: where1 AND (where2 or where3 or where4). Do I have to use the complex search or is there a way to do it directly with the booleans?
 
Found it myself

Code:
[URL unfurl="true"]https://myLivelinkServer/livelink/livelink.exe?func=search&where1=any[/URL] OR word&lookfor1=complexquery&where2=%28%22OTLocation%22%3A%22111841646%22%29&boolean2=AND

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top