Forum Discussion
Gary_Stewart
May 07, 2019Copper Contributor
Site Scripts and Hyperlink/Picture Site Columns
I am developing a site script to create some site columns and content types. Mostly it is working OK, but I'm having trouble figuring out how to use the createSiteColumnXml verb to create a hyperlin...
Gary_Stewart
May 08, 2019Copper Contributor
Tanya Denton thanks. That is a pretty handy tool.
Beau Cameron
May 08, 2019MVP
Gary_Stewart I would suggest creating the the picture field on a list and using PowerShell command "Get-SPOSiteScriptFromList" to extract out the values you need.
"schemaXml": "<Field DisplayName=\"TestPicture\" Format=\"Image\" Name=\"TestPicture\
" Title=\"TestPicture\" Type=\"URL\" ID=\"{6f2db82c-f1a6-415d-9678-324b1d809f17}\" StaticName=\
"TestPicture\" />"