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....
精彩评论