Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Add Custom Web Part to My Site

  Asked By: Parvesh    Date: Dec 20    Category: Sharepoint    Views: 2711

How do I get a custom web part to show up as a selection for each user (on
the My Site), without them having to add it to their gallery first?

I have created a custom web part (using VS 2008) and deployed it to the
share point server. I want this web part to show up when the user clicks on
the "Add a Web Part" link on their "My Home" page. e.g. "My Site" --> "Site
Actions" --> "Edit Page" --> "Add a Web Part". But the web part does not
show up, even if I use the search feature.

I tried this to make the part show up:

Goto: My Site > Site Settings
http://SharePoint/MySite/_layouts/settings.aspx

Click Web Parts
http://SharePoint/MySite/_catalogs/wp/Forms/AllItems.aspx

Click New:
http://SharePoint/MySite/_layouts/NewDwp.aspx

Select My.ActionItems
Click "populate gallery"

Locate the ActionItems.webpart and click "Edit"

For description enter:

"This web part will allow you to see your open Action Items."

For "Quick Add Groups"
Check Default
Check Specify your own value and enter "My Site"

But when I log on as "domain\user1" and go to my site, I still have to go to
"Site settings" --> "Web Parts" and add the web part to the gallery before I
can add it to a page.

How do I get the web part to show up as a selection for each user, without
them having to add it to their gallery first?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Gretchen Stokes     Answered On: Dec 20

For WSS 3.0/MOSS 2007, webparts can be deployed at various level of webpart
galleries. For your case, have you tried install the webpart into the top
sitecollection of the mysite server? You can find the mysite server in the
shared service provider(ssp) admin site. After installing webpart at the
root site/site colletion level, it should be available to all sub sites.
Another option is install the webpart into the global server gallery, this
can done by installing webpart through WSS feature/solution package. Here
are some web  reference mentioned this:

#Managing a site  Collection Web part  Gallery
office.microsoft.com/.../HA011608541033.aspx

#Manage and share Web Parts and Web Part Pages
nirma.org/.../help.aspx
S.HA10024106

And visual studio 2005/2008 have add-in templates that can help simplify
the process for generating solution package for deploying WSS/MOSS
components:

#Creating a Windows SharePoint Services 3.0 Web Part Using Visual Studio
2005 Extensions
msdn.microsoft.com/en-us/library/aa973249.aspx

 
Didn't find what you were looking for? Find more on Add Custom Web Part to My Site Or get search suggestion and latest updates.




Tagged: