www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  WebPublisher PRO    xml query
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
Hi

I have a search query which return me the XML of results. I am using javascript and forming the url of search. I m using webpublisher 7.0

I want to have that it returns only one field of the record and not the whole record.

Also I want to return distinct values of the field.

Cheers
 
Posts: 1 | Registered: Sat October 20 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
To return only particular field(s) in XML results, use the FN parameter in your URL. I can't remember whether Webpublisher 7 supports FN or not, though. Otherwise is not possible.

Also, it's not possible to return distinct field values as the result of a query, but it is possible to return distinct value index terms. Use AC=term_index and see the online help for further info.


Peter Tyrrell, MLIS
Senior Consultant
Andornot Consulting Inc.
http://www.andornot.com/about/developerblog
 
Posts: 179 | Location: Vancouver, BC, Canada | Registered: Thu September 20 2001Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  WebPublisher PRO    xml query