Multible configuration IDs in WEBTEMPSPSxxx.XML
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Multible configuration IDs in WEBTEMPSPSxxx.XML

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Kalmberg
Guest





Posted: Wed Nov 09, 2005 1:51 pm    Post subject: Multible configuration IDs in WEBTEMPSPSxxx.XML Reply with quote

Hi all,

I've tried adding two configuration IDs in my WEBTEMPSPSxxx.XML file without
any luck. When trying to see the the page tab in the portal overview of a
portal site I get the error "A DropDownList cannot have multiple items
selected."

Here my template configuration:
<Template Name="SPSTOPICGREVE" ID="10002">
<Configuration ID="0" Title="Afdelingsskabelon" Type="0" Hidden="TRUE"
ImageUrl="../images/spshome.gif"
Description="Afdelingsskabelon"></Configuration>
<Configuration ID="1" Title="Temaskabelon" Type="0" Hidden="TRUE"
ImageUrl="../images/spshome.gif"
Description="Afdelingsskabelon"></Configuration>
</Template>

The sites based on both configurations is created without errors, only when
created, I cannot change the template due to the error above.

Looking at WEBTEMPSPS.XML I can se that there is only configuration ID per
template, eg.:

<Template Name="SPS" ID="20">
<Configuration ID="0" Title="SharePoint Portal Server-websted" Type="0"
Hidden="TRUE" ImageUrl="../images/spshome.gif" Description=""></Configuration>
</Template>

Isn't it possible to have multible configuration IDs for a single template
in the portal server as it is in windows sharepoint services (WEBTEMP.XML) ??

Thanx in advance!
Kalmberg
Back to top
Kalmberg
Guest





Posted: Thu Nov 10, 2005 9:51 am    Post subject: RE: Multible configuration IDs in WEBTEMPSPSxxx.XML Reply with quote

Thanks for your reply!

The reason for wanting two IDs is that both templates share the same
configuration regarding for instance document libraries: Versioning enabled,
required fields, eventhandlers etc. Also I've made some (unsupported, I
know!) changed to the aspx files. Basically the two templates differs only in
what webparts is used in the portal sites based on the templates. So from at
maintenence point of view, having two configurations would be an ease.

Regard,
Kalmberg
Back to top
Wei-Dong XU [MSFT]
Guest





Posted: Thu Nov 10, 2005 9:51 am    Post subject: RE: Multible configuration IDs in WEBTEMPSPSxxx.XML Reply with quote

Hi Kalmberg,

Currently as I know, this is not permitted due to the product design. Only
one id should be specified to one template. I would like to know why you
are going to set two id at the tamplate? Perhaps we could find another
workaround for you regarding this.

Expect to your reply!

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
It is my pleasure to be of assistance.
Back to top
Wei-Dong XU [MSFT]
Guest





Posted: Fri Nov 11, 2005 9:51 am    Post subject: RE: Multible configuration IDs in WEBTEMPSPSxxx.XML Reply with quote

Hi Kalmberg,

Got your point! However, this idea is not supported by Sharepoint now. I
have forwarded your requirement to the product feedback team. Hope this
feature could be supported in the near future.

Currently from my view for this issue, I think we could develop one web
part to display the different UI based on the condition. At one custom web
part, we could render the web UI very freely to avoid the limitation of
this two ID. We can still save the file in the WSS document library; the
WSS document library features are still able to serve us. Moreover, the web
part is alos easy for the deployment. The reuse will be very convenient.

Please feel free to let me know if you have any further question on this
matter.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
It is my pleasure to be of assistance.
Back to top
Loke Kit Kai [MVP]
Guest





Posted: Sun Nov 13, 2005 9:50 am    Post subject: Re: Multible configuration IDs in WEBTEMPSPSxxx.XML Reply with quote

Kalmberg,

You can have two different IDs, and yet use the same list definition. There
is an attribute in the List tag called Path, which allows you to use list
definition specified in another directory.

--
Best Regards,
Kit Kai
MVP (asp.net)

SgDotNet Council Member
Visit us @ http://www.sgdotnet.org
My Blog: http://community.sgdotnet.org/blogs/kitkai
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB