文件 将母版页从 sharepoint MainSite 复制到 sharepoint 子网站
我有这个共享点母版页文件
http://abcd.com/sites/forum/_catalogs /masterpage/MyCustomMasterPage.master
我想将 MyCustomMasterPage.master 复制到
http://abcd.com/site/forum/MySiteA/_catalogs/masterpage/MyCustomMasterPage .master
我将如何在 C# 中执行此操作?请帮我。谢谢!
I have this sharepoint masterpage file
http://abcd.com/sites/forum/_catalogs/masterpage/MyCustomMasterPage.master
and I wanted to copy the MyCustomMasterPage.master to
http://abcd.com/site/forum/MySiteA/_catalogs/masterpage/MyCustomMasterPage.master
How will I do this in C#? Please help me. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它实际上的行为就像您将母版页上传到 _catalogs/masterpage 文件夹,但不同之处在于它来自网络而不是来自本地计算机。
如果您打算上传母版页,就像使用从本地计算机上传文件的开箱即用行为一样,您可以执行此操作。
It actually behaves like you are uploading the masterpage to the _catalogs/masterpage folder but the difference is that it came from the web not from the local machine.
If you plan to upload the masterpage just like how your out of the box behave using file upload from local machine, you can do this.