Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: LiveSearch Multi-Select

When playing around with CascadedDropdown I've got an idea - maybe you'll like it, too :)

At the moment I do have a simple document library with an additional column for metadata (type: managed metadata). Somewhere on our sharepoint I created a list with a lookup column referencing the documents of the library metioned above. Of course that's not very comfortable as the list may get a bit long - depending on the amount of documents located within the library.

My first approach some time ago was using "CascadedDropdown", but at that time combined with a simple list containing the "metadata". It worked for sure, nevertheless it could be better :)

But how? Well, my idea is to have a simple text input field and a multi-select area, which holds the documents. Every time the user enters a char into the input field, a query gets executed so that only the documents are visible whose title contain that char. In other words some kind of live search. The next step could be, that the column containing the managed metadata mentioned at the beginning will also be taken into account for the search results.

Now I'd like to know what you're thinking of that idea? How could that be realized?

I though of using most of the code of "CascadedDropdown" and for obtaining the correct search results "Query/QueryEx". Maybe using CAML queries is the better idea, as CascadedDropdown is already using them? Do they support queries with wildcards?


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>