Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: How to "reset" fetching results for SPCascadeDropdowns

Hi :)

first at all I want to thank you all for those wonderful scripts. They made my worklife so much easier!

But here is my question:

Is it possible to retrigger the fetching of results  for SPCascadeDropdowns?

Following scenario:

I have a lookup dropdown field which offers a selection of different services (for example Webhosting, Webdevelopment etc.) with the SPFilterDropdown function I filter a lookup dropdown with companies which offer these services. This works like a charm. 

Now to the tricky point. Dependant on the selected service and company there could be different contracts which should be filtered in a multi lookup field. (I'm using SPCascadeDropdowns for this) Each contract with a company can be valid for more than one service.

The first time I make my selections:

Select service -> select company -> filtered list of contracts

everything is fine.

But if I decide to change the selected service with the same company. I always get the same filter result for Contracts. Like I mentioned, the first time i make my selection with any combination it works perfect.

Is it possible to reset the SPservices functions to act like the first time it was triggered? I assume that the scripts cache the query results and reuse them for performance improvement. Right?

I'm working with a single lookup list for the services, a relationlist with company and Services(multiselect) and a relationlist with contracts, company and services(multiselect).

The multiselect fields in the relationlists are a must have. 

Hopefully someone can give me a hint how to get around this problem.

Thanks a lot 

Matthias


Viewing all articles
Browse latest Browse all 6517

Trending Articles