SharePoint:为我翻译链接及其不需要的内容

发布于 2024-08-10 21:09:38 字数 570 浏览 2 评论 0原文

我正在使用 sharepoint Web 服务插入列表项...

这是我的代码:

item += @"<Field Name=""HyperLinkField"">" + this.SharePointSiteAddressLinks  + @"/lists/" + this.ListName  + @"/" + this.ID + "_" + this.MessageID + ", " + this.MessageID + ".ext</Field>";

SharePointSiteAddressLinks 的值是 http://machineName

列表项被插入到列表中,但超链接的值设置为 http://localhost

首先 - 为什么SharePoint 会自动(错误地)我的链接,第二,我该怎么做才能将其关闭?

谢谢

I am inserting a list item using sharepoint web services....

Here is my code:

item += @"<Field Name=""HyperLinkField"">" + this.SharePointSiteAddressLinks  + @"/lists/" + this.ListName  + @"/" + this.ID + "_" + this.MessageID + ", " + this.MessageID + ".ext</Field>";

the value of SharePointSiteAddressLinks is http://machineName

The list item gets inserted into the list, but the value of the hyperlink is set to http://localhost

Firstly - why does SharePoint take it apon itself to (incorrect) my links, 2ndly what can I do to turn it off?

Thank you

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

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

发布评论

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

评论(1

尝蛊 2024-08-17 21:09:38

重新启动服务器,一切正常......

Restarted the server, everything worked fine....

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