开发者

Configure the WebPart before add it to a page in the SharePoint 2010

I have an issue: gather configuration of the WebPart before add it to a page. For instance, the Silverlight Web Part has the same behaviour. It show modal dialog with asking to enter path to .xap file.

The enviroment is SharePoint Foundation/Server 2010.

I hope that you has already so开发者_运维知识库lved this problem. Please share you solution, whever is has been solved or not.

Thanks.


Web parts properties and configuration are stored in the web parts .dwp file which is just an xml file.

You can manually setup your web part then export the .dwp file via the web part menu. If you examine it in a text editor you will be able to identify the configuration.

You can then import the pre-configured web parts .dwp file using the Add new web part link (can't give you exact instructions as you didn't specify SharePoint 2007 or 2010) or you can import it into the web part gallery so it will be automatically used with "Add new web part"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜