Advertisement

04.18.2008 at 07:27AM PDT, ID: 23334264
[x]
Attachment Details

Connected XSLT data view webparts in a site template returns errors

Asked by i-mergetechies in MOSS-Sharepoint, Extensible Stylesheet Language Transformation (XSLT)

Tags: , , , , ,

I created a sharepoint site and I want to use it as a site template.
The template contains a couple of lists and a page with sharepoint webparts and one XSLT data view webpart (used sharepoint designer to convert a sharepoint list view webpart to XSLT data view). The webparts are connected.
The XSLT data view receives an input parameter from an other webpart in the page. This site works perfect.
Now when I save it as a template and deploy a copy everything works fine except for the connection to the XSLT data View webpart. It gives me the following error: Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.

I tried stsadm export and import, but the same eror occurs. Creating a personal web package with sharepoint designer doesn't work either.

I understand it has something to do with the webpart ID's that are hard coded in the xslt. Is it possible to connect webparts by using a webpart name rather than the ID like you can do with lists.
I don't want to fix each copy manualy, because there will be hundreds of sites based on this template.

I'm no codder, but I have a programmers background, just not in the DotNET enviroment.
I try to acomplish this just by using the sharepoint designer.
 
Any advise on how to go about would be greatly apreciated.

PS: what I try to create is a project overview page. When you select the project name in the right column with the project webpart, I want to get a project detail sheet in the same page with all the details. Other webparts on this page are filtered based on the selected project. Maybe there are better ways to do this than the one I'm trying to use?
Start Free Trial
[+][-]04.22.2008 at 03:38PM PDT, ID: 21416230

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.11.2008 at 07:57AM PDT, ID: 21542590

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MOSS-Sharepoint, Extensible Stylesheet Language Transformation (XSLT)
Tags: Microsoft, Sharepoint, 2007, MOSS, Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem pe, XSLT Data View, Webpart, Sharepoint Designer, Site Template
Sign Up Now!
Solution Provided By: EE_AutoDeleter
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628