What I thought was an issue creating a reusable dataview webpart that would be parameter fed to work across sites based on the WebURL has turned into a larger problem for me. Until yesterday, I hadn't had any issues creating dataviews on the pages library. Now, I try and create a dataview and bring in just the @Title
field, make it work across sites by changing the ViewFlag
property from '8' to '0' and the ListID
parameter to ListName
and send it to the gallery.
Attempting to add it to any page receives:
An error occurred while attempting to add the item to the page.
Again, I have created multiple data-views on the pages library already that are much more complex using the same steps. I've even made the WebURL parameter fed so I can use this webpart to grab data from the pages library of sub sites.
I've tried checking the error log and am unable to fully comprehend its meaning given my lack of experience.
Other things I have noticed:
My webpart works 100% in SharePoint Designer with all of the filtering/styling applied. Trying to change the parameters in the browser receives this error:
Cannot save all of the property settings for this Web Part. An error has occurred.
UPDATE: The reason that this error occurs is because after I change the parameter in the parameter's editor, I checked the XSL editor and it is wiped clean.
Furthermore, I've created the same columns in a custom list and was able to implement everything perfectly fine leading me to believe that the problem resides with the data source.
Any help or even a point in the right direction would be helpful. This is a complete show stopper for my current engagement.