Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: SP2007 UpdateListItems with Hyperlink column

Matthew,
Thanks for the suggestion. I tried this on a test list and was unsuccessful. Here is the POST:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<listName>{34F5F005-0B18-4D48-BCE4-6293D5A523F6}</listName>
<updates>
    <Batch OnError="Continue">
    <Method ID="1" Cmd="New">
        <Field Name="Title">Test websvc add</Field>
        <Field Name="linky">http://www.google.com,Google</Field>
    </Method>
    </Batch>
</updates>
</UpdateListItems>
</soap:Body>
</soap:Envelope>
The response was
<UpdateListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <UpdateListItemsResult>
        <Results>
            <Result ID="1,New">
                <ErrorCode>0x80004005</ErrorCode>
                <ErrorText>Cannot complete this action. Please try again.</ErrorText>
             </Result>
        </Results>
    </UpdateListItemsResult>
</UpdateListItemsResponse>
Removing the ",Google" from the update request allows the function to complete successfully. However, it still displays as text, not a link.

Bill

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>