通过保留 GUID 来移动子站点

发布于 2024-10-07 18:05:57 字数 251 浏览 0 评论 0原文

我正在尝试使用stsadm 导出然后导入将Sharepoint 子网站移至另一个子网站。

导入后,该网站可以正常工作,只是我在某些页面上使用了一些 XSLT。 XSLT 数据源绑定到列表 GUID。导入时,它会为所有内容重新生成一个新的 GUID。

有没有办法在导入站点时保留 GUID?或者是否有任何方法可以代替使用 stsadm 导出/导入?

任何帮助表示感谢,谢谢!

I'm trying to move a Sharepoint Subsite into another one using the stsadm export and then import.

After the import, the site is working, except that I'm using some XSLT on some pages. The XSLT datasources are bounded to the lists GUIDs. And when importing it re-generates a new GUID for everything.

Is there a way to preserve the GUIDs when importing a site? Or is there any method out there instead of using stsadm export/import?

Any help appreciated, Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

谁的年少不轻狂 2024-10-14 18:05:57

将列表视图 Web 部件转换为基于 xslt 的 Web 部件,而不是使用 DVWP。

Convert listview web parts to xslt based webparts in place of using DVWP.

单调的奢华 2024-10-14 18:05:57

我终于找到了解决方案...我使用了 stsadm 的 Gary Lapointe 扩展

在函数“gl-import2”中,有一个“retainobjectidentity”参数,用于在导入过程中保留 GUID。

这是该函数的链接:
http://stsadm.blogspot.com/2007/10/better-import.html

I finally found a solution... I used the Gary Lapointe extensions for stsadm.

In the function "gl-import2" function there is a "retainobjectidentity" parameter to persist the GUIDs through the import process.

Here's the link to the function :
http://stsadm.blogspot.com/2007/10/better-import.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文