如何克隆其中包含Webparts的Sharepoint aspx页面? [英] How to clone a Sharepoint aspx page with webparts in it?

查看:77
本文介绍了如何克隆其中包含Webparts的Sharepoint aspx页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有一些Web部件(内容编辑器,报表查看器)的aspx页面,我需要像这样创建其他一些页面.

I have an aspx page with some webparts (content editor, report viewer), and I need to create some others just like that.

如何创建它的副本?

我确实保留了菜单选项下载副本"但是以某种方式,当我使用该副本创建新页面时,它不包含Web部件.

I did chouse the menu option "download a copy" but somehow when I used that copy to create a new page, it does not contains the web parts.

有帮助吗?

谢谢

JD

推荐答案

您好junidev,

Hi junidev,

只需使用来配置您的页面模块Visual Studio中的功能,Visual Studio中的创建页面"模块,导出页面中的所有Web部件,然后编辑导出的文件,复制XML并将其粘贴到模块的element.xml中的特定位置 ,以下是网址,这些网址会详细显示您所需的步骤 

Just Provision your pages Module using  feature in Visual studio ,Create pages module in visual studio, export all webparts in your pages, then edit the exported file, copy the XML and paste it in specific location in element.xml of the module , here' s the URLs which display the steps you need in fully details 

https://blogs.msdn.microsoft.com/voyage/2015/02/23/provisioning-page-with-configured-web-part-from-visual-studio/

https://blogs.msdn.microsoft.com/voyage/2015/02/23/provisioning-page-with-configured-web-part-from-visual-studio/

http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/06/02/how-to-deploy-a-page-using-a-feature.aspx

http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/06/02/how-to-deploy-a-page-using-a-feature.aspx

https://platinumdogs.me/2012/07/06/sharepoint-adding-default-web-parts-to-a-publishing-page-layout-with-feature-provisioning/

https://platinumdogs.me/2012/07/06/sharepoint-adding-default-web-parts-to-a-publishing-page-layout-with-feature-provisioning/

希望这对您有帮助


这篇关于如何克隆其中包含Webparts的Sharepoint aspx页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆