dimanche 1 février 2015

How to create XsltListviewWebpart on Sharepoint Wepart page using visual studio?



My requirement is, I want to add one Sharepoint webpartpage in my visual studio solution, which deploys to /Pages library, where I want to show data from three different lists of same site.


After some search came across, xsltlistview webpart can help in this scenario.


Issue I am facing is, when I deploy my SharePoint farm solution, getting error of



List does not exist.


The page you selected contains a list that does not exist. It may have been deleted by another user.0x81020026



After deployment viewid and list id getting change,


Any thoughts on how to create the xsltlistview webpart where on .aspx I get the listid, viewid pass it as parameter? or any other pointers ?


Thanks in advance.








0 commentaires:

Enregistrer un commentaire