Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Sending Hyperlinks to an RTF field via Web Services do not work.

$
0
0

Hello,

I am trying to create a task on a Sharepoint List using VBA in MS Excel and Web Services (SOAP Query).

I have come to understand that using HTML tags to format RTF field would work. Using a <b></b> tag does put in inBOLD.

However, I struggle when it comes to creating Hyperlinks(<a></a> tags). The hyperlinks are not Clickable either in Sharepoint directly or in MS Outlook.

Here is the FIELD definition when I used the GetList web service.

<Field ID="{7662cd2c-f069-4dba-9e35-082cf976e170}"       Type="Note"       RichText="TRUE"       Name="Body"       DisplayName="Description"       Sortable="FALSE"       SourceID="http://schemas.microsoft.com/sharepoint/v3"       StaticName="Body"       ColName="ntext2"       Required="FALSE"       EnforceUniqueValues="FALSE"       Indexed="FALSE"       NumLines="6"       RestrictedMode="TRUE"       RichTextMode="FullHtml"       IsolateStyles="TRUE"       AppendOnly="FALSE"       Version="2"       RowOrdinal="0"/>
And here is my XML request.

<?xml version="1.0"?><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/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><soap:Body><ns1:UpdateListItems xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/"><ns1:listName>{54858120-5D20-4A4B-8C87-C9F683A257B0}</ns1:listName><ns1:updates><Batch OnError="Continue"><Method ID="1" Cmd="New"><Field Name="Title">Test 46010</Field><Field Name="Body">Normal Text test <![CDATA[Testing with CDATA <b>Bold Text</b><a href="www.google.ca">Google</a>]]></Field></Method></Batch></ns1:updates></ns1:UpdateListItems></soap:Body></soap:Envelope>



Viewing all articles
Browse latest Browse all 7589

Trending Articles



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