Hi Everyone,
Got a problem, need some help 🙁
I have been asked to add a webpart to a page that has a single field & a search button on it to search a document library- the Google effect I suppose!
I have already configured the searchs, so using the OOTB box search works a dream but this is not how it is wanted.
I have the bear bones in place using Java e.g. the search field & a button but I am at a loss on how to find the name of the fields that the OOTB query uses to search the document libraries.
Does anyone know of any documentation on how to do a custom (simple) search or at least how to get the field names to add to the string for the search (does that make sense?).
Any pointer, kb’s would be great
T.i.a
Jonathan
P.s. have attached example of my code that isn’t working #embarassed
Hi Mark,
The server has JQuery in the scripts library so I can call it if necessary so I can have a look in that area.
The line you are asking about is the bit I am having the problem with, I am trying to pass the search field value across to the query & was testing a theory that this was the field name (having trawled through lines of source code in Chrome) that SP would recognize, alas I was wrong – so will look again at this tomorrow.
Thanks for the link, will have a gander. If only I could be allowed to use the default, OOTB search life would be so much easier! arrrgggghhh lol.
I really must get around to watching “Games of Thrones” – everyone seems to be hooked on it 😉
Thanks for the pointers,will let you know how I get on 🙂