How to read hyperlink field value from the sharepoint list
I have used sharepoint application scope and with the help of caml query i have retrieved the datatable.
while iterating in the for each row row , i can get single line and choice type of columns, but i cannot read other column, which has hyperlink value type.
I got below error
Message Box: Unable to cast object of type ‘System.String’ to type ‘Microsoft.SharePoint.Client.FieldUrlValue’.
In for each row i used below query to retrieve the specific column which hsa hyperlinkvalue
ctype(row(“URL”),Microsoft.SharePoint.Client.FieldUrlValue).Url