简体   繁体   English

在Sharepoint中的用户MySite上默认WebParts

[英]Defaulting WebParts on a Users MySite in Sharepoint

I am working on a project that is replacing an old portal system (Plumtree) with sharepoint and we want to make the transition as smooth as possible. 我正在开发一个用sharepoint替换旧门户系统(Plumtree)的项目,我们希望尽可能顺利地进行转换。

One thing we are look at currently is taking all the gadgets (Plumtree term for WebParts) and making sure they appear in the same place on the users new MySite. 我们目前看到的一件事是采用所有小工具(Plumtree术语为WebParts)并确保它们出现在用户新MySite的相同位置。

Plumtree holds this information in a simple table containing the user, page, gadget and position information. Plumtree将此信息保存在一个包含用户,页面,小工具和位置信息的简单表格中。 I want to find a way to automate reading this table and putting the new WebParts on the users MySite and not have to manually set it up for hundreds of users. 我想找到一种自动读取此表并将新WebPart放在用户MySite上的方法,而不必为数百个用户手动设置它。

I'm told modifying Sharepoint tables in SQL Server directly is not a good option as it may affect our support arrangements, but if it saves doing this by hand then I would concider it. 我被告知直接修改SQL Server中的Sharepoint表并不是一个好的选择,因为它可能会影响我们的支持安排,但如果它保存这样做,那么我会对它进行调整。

Other options that spring to mind are creating a equivalent table and using API calls to load the WebParts the first time the user accesses their MySite. 我想到的其他选项是创建一个等效的表,并在用户第一次访问其MySite时使用API​​调用来加载WebPart。

Any better suggestions? 有更好的建议吗?

You are right, messing directly with databases are not supported nor recommended. 你是对的,不支持也不建议直接搞乱数据库。

Unfortunately, there are not much ways to modify MySites, the best way I know come from the MOSS Team Blog: http://blogs.msdn.com/sharepoint/archive/2007/03/22/customizing-moss-2007-my-sites-within-the-enterprise.aspx 不幸的是,修改MySites的方法并不多,我所知道的最好方法来自MOSS团队博客: http//blogs.msdn.com/sharepoint/archive/2007/03/22/customizing-moss-2007-my -sites-内最enterprise.aspx

The way we did it was pretty much what is described in the link above ( http://blogs.msdn.com/sharepoint/archive/2007/03/22/customizing-moss-2007-my-sites-within-the-enterprise.aspx ). 我们这样做的方式几乎就是上面链接中描述的内容( http://blogs.msdn.com/sharepoint/archive/2007/03/22/customizing-moss-2007-my-sites-within-the- enterprise.aspx )。

Your best bet is probably to staple a Feature to MySite creation and have it poll the plumtree database, find the gadgets for that user, and add a 'Page Viewer' web part for each, pointing to the gadget's location. 您最好的选择可能是将一个功能装订到MySite创建并让它轮询plumtree数据库,找到该用户的小工具,并为每个添加一个“页面查看器”Web部件,指向该小工具的位置。 That said, you may want to reconsider blindly migrating all your plumtree gadgets into SharePoint. 也就是说,您可能需要重新考虑盲目地将所有plumtree小工具迁移到SharePoint中。 There may be much better 'SharePointy' ways to provide the functionality that your gadgets are currently providing. 可能有更好的“SharePointy”方式来提供您的小工具当前提供的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM