Tag Info

New answers tagged


can u add "lists/yourlistname" for the property listurl ( make sure the list is located in the same root sitecollection or with in the subsite based on the location where ever you add) and give a try. Also, GUID property should be with braces.


Sounds like the ghost attribute isn't clear. Search for the ddwrt:ghost attribute on your templates. Try clearing "show_all", "show", or "hide" from the attribute, or remove the attribute altogether.


Shailen Sukul has a great example posted on the MSDN forums. I suggest you start there first. https://social.msdn.microsoft.com/Forums/en-US/54d780ea-df2f-408d-9056-cf6f0c27f04e/add-xsltlistviewwebpart-via-code?forum=sharepointdevelopmentprevious

Top 50 recent answers are included