Have document library loaded with 3k of files, when tried convert web part showing library to xlst view returns "non-specific error".
SOLUTION: BUILD BASIC LAYOUT ETC IN TABLE VIEW FIRST , THEN DO A TEMPORY FILTER ON IT TO SHOW ONLY A FEW ITEMS AND DO CONVERT TO XLST. ONCE DONE CLICK ON PROPERTIES AND TICK 'SHOW SAMPLE DATA' AND JUST TO BE SAFE IN THE DROP DOWN BOX NEAR IT 'SHOW 10 ITEMS'. THE DATAVIEW SHOULD NOW SHOW IN XLST DESIGN VIEW ONCE YOU HAVE TAKEN THE TEMP FILTER OUT SO ALL RECORDS ARE SHOWN.
Why this happens is explained here
I'm developing some applications using SharePoint 2003 and Microsoft Front Page. I find that it is very useful when I convert a list view to xslt data view and customize it. But, recently, we've had a problem. When the data volume in a list is large, the performance of "converted to xslt data view" list view is very bad.
I don't know if it is a limitation of SharePoint (acceptable performance for less than 2000 items in a list) or due to "Convert to XSLT data view". Could you pls tell me the reason. I really appreciate!
Nguyen Minh Dung
Top.
--------------------------------------------------------------------------------
Re: Convert to XSLT data view
Monjo
This makes sense because the filtering/sorting is done at design time, thus it is applied at browse time. The performance hit comes because the entire XML is loaded before these are applied. To get around this, you may be able to add a filter/sort from the Data Source Properties dialog. Note, when you do it from this dialog you are actually modifying the source control. When you have view on a page you can modify the source control, but you can also write a filter to the XSLT source (what you are doing). The difference here is performance. Applying the filter at the Data Source layer will make the query more performant. If you apply a filter at the XSLT layer (like you are), the filter will be applied AFTER all of the data is returned and is starting to render in the browser.
This is a limitation/by-design of XSLT, not necessarily SharePoint.
-Monjo