Додатна категорија: ИнфоПатх
Резиме: ИнфоПатх 2007 формирају распоредио на МОСС сервер обезбеђује падајућу листу продаваца везан за прилагођеној МОСС листи. По избору добављача, Правила доделити вредности поља на неколико текстуалних поља као што су представник продаје име, адреса, град, држава, зип и телефон. Перформансе је страшно. We notice that performance gets worse (in a non-linear fashion) for each additional field we update this way. I.e., if we just update the sales rep name, it takes [к] amount of time. If we update sales rep, address1, address2, град, држава, zip, it takes 10 times longer.
Решење: Write a web service (sample code can be found овде) that is passed in the name of a vendor and it returns back the vendor details. Онда, assign the fields this way. Although this too seems slow, there was no discernable difference in performance when we assigned 1 field versus 8 fields. As an added bonus, users get a cool "contacting the server" Cylon effect while they wait for the form to invoke and consume the service results.
I remember the first Moss project I was involve in. We had the same problems with Infopath, the load time was getting too long. At the end we reimplement most of the Infopath forms to User Controls inside a Smart Part.