Hi there,
i'm just wondering if anyone of you have had the same issues , maybe i'm pushing Infopath too much for the goal i'm trying to achieve.
I'm using a complex Oracle secondary datasource to filter out list of people reporting up to VP's etc..
This is done through webservices in Infopath. Nothing unusual there.
When there's only like 100 people that the query returns, it all works smoothly.
When there's 3000 people in the scope, it goes...o.... so.... slow.... when... filling.. up ... my .... tables.
the entries from the secondary datasource are copied over into a repeating table in the main document and yes, there are some rules set on checkboxes and (if type of machine is 'this', then set age to 'that')
I waited 5 and a half hours, yes, that's 330 minutes for the data to appear in my sheet. ( i programmed 2 fields to write down the start time, query the database and then write the stop time into another field)
Now..when i go on the server i use to run the webservices and i do exactly the same query (corpid= 'this' and region is 'EMEA'), i takes about 20 minutes to get me all data back in a xml listing.
so 20 minutes to get the xml sheet... what is infopath then doing that it takes 310 minutes to fetch this data from the secondary datasource and past it in the primarily table.
20 minutes compared to 330 minutes..
and when i then work on the data to tick boxes per row, it goes.. slow.. as well.
I get the impression that for huge lists like mine, if i click on a checkbox in lets say row 106, it loops through all rows again to check if all the set rules and condtional formating still aplly.
so for 100 entries you might hardly notice but i find it way too slow.
as a comparison, i turned of a couple of rules for the tickboxes and it took 2 hrs less to write out the table (still 3 hrs 30 min)
I'm using the cloneNode(true) method for adding rows to the DOM repeating table.
Why doesn't it just query and import the data and when that's done, then start looking at the rules it needs to apply?
To me, everytime you add a row with the cloneNode , it will add it and then check all rows again for the rules..
so the process of adding 3000 rows becomes very very slow..
anyone know if infopath 2007 better at this before i start it all over again?
tnxs
K