开发者

SharePoint : Translating links for me, and its unwanted

开发者 https://www.devze.com 2022-12-11 04:28 出处:网络
I am inserting a list item using sharepoint web 开发者_StackOverflow中文版services.... Here is my code:

I am inserting a list item using sharepoint web 开发者_StackOverflow中文版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


Restarted the server, everything worked fine....

0

精彩评论

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