Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Adding webparts to site definition - Question

  Asked By: Ronald    Date: May 02    Category: Sharepoint    Views: 2148

I am trying to add some web parts to a custom site definition. I am
able to do it if I add my part to the GAC and get a public key token.
I am trying to do this with webparts only deployed to the bin (using
Ted Pattison's techniques in his 2007 webcast). Is it possible to add
web parts to a site definition without putting the part in the GAC?

Here is the following code chunk.

<AllUsersWebPart WebPartZoneID="Main" WebPartOrder="2">
<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
<Assembly> OverdueTasksPart, Version=, Culture=neutral,
<Title>Your Overdue Tasks</Title>



1 Answer Found

Answer #1    Answered By: Kyla Eckert     Answered On: May 02

It is possible. Are the Web Part assemblies always already deployed  to
the bin  of the target Web Applications? What are the CAS requirements of
your Web Parts? Can the Web Part run if you deploy them manually to
other sites in the same site  collection?

Didn't find what you were looking for? Find more on Adding webparts to site definition - Question Or get search suggestion and latest updates.