I'm using SharePoint 2013. I have a list with custom columns. One column is text type, and I want to set it as URL type. In SharePoint Designer, I can change the type, but I can't choose "URL" type.
I tried in powershell, doesn't work too. According to this site.
$site = Get-SPSite -Identity "http://serverName/" $web = $site.RootWeb $field=$web.Fields["Custom Site Column"] $field.Type= "URL" $field.Update($true) $web.Dispose() $site.Dispose()
I also tried :
Instead of :
But when I did the
Update(). Answer an error like : you cannot use this type.
I don't want to delete the list and create it again, because there is lots of aspx page inside and else.
Any ideas to force the column type to be URL ?