Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2016-09-22 13:51:10

moddhayward
Member
Registered: 2016-05-24
Posts: 3

Making use of 'general' search within Advanced Search

Hi,

On this page: h-t-t-p-s-:-/-/-www.thirdlight.com/docs/display/integration/Advanced+Search+Box

We are told that there is a SEARCH ACTION code "20 - MATCHES (equivalent to General Search, ie. many fields simultaneously searched)"

I have tried fruitlessly to make use of this.  Without a field code I get "no search configured" and with a field code, it just matches that one field.

Can someone PLEASE post a clear, working example?

Many thanks,

Mike

Offline

#2 2016-09-22 14:07:01

thirdlight
Third Light Staff
Registered: 2013-06-06
Posts: 23

Re: Making use of 'general' search within Advanced Search

Hi Mike

It might be quicker to do this with the General Search. If you need to use the Advanced Search system, try setting the input field to 17:

<p>
    Enter a string to search against all fields:
</p>
<form action="[IMSURL]/doadvsearch.tlx" method="post" >
    <input type="hidden" name="f101" value="17" />
    <input type="hidden" name="a101" value="20" />
    <input type="input" name="w101" />
    <!— w101 means user input goes here -->
</form>

The other way to do this is via the JSON API, which is generally the way we approach most integration work.

Best wishes
Michael (Third Light PS)

Offline

#3 2016-09-22 18:17:53

moddhayward
Member
Registered: 2016-05-24
Posts: 3

Re: Making use of 'general' search within Advanced Search

Thanks Michael - good to see someone on here after three months!  :)

This seems to be working as I hoped.

Mike

Offline

Board footer