I am using CMS 7.1 version and I am creating a custom dojo property on click Add button, it should create a filterselect dynamically and use the store to fill in that values.
I am initialising that store using WebAPI which is only gets initialised when I click on Add button. It is taking a lot of time to load the store in filtering select like 18.03 seconds.
My store through webAPi 2.0 is looking for "standard" page types' pages. using FindPagesWithCriteria and there are 400-500 of such pages.
If I click on the filter select before it loads, it gives error straightaway as it is still processing the store and did not find store. One the store is loaded, it never gives any error?
My queries are:-
1. Is there a way that unless the store is filled, i should not be able to click on filtering select. or load the store before my click Add event?
2. Where should I initialise my store. I cannot seem to load it when I click on form edit mode. It only initialises as the code and dojo event is attached on a button. 3. Should i use something else then find pages critiera to find specific pagetypes?
3. Should i use something else then find pages critiera to find specific pagetypes?