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...
Tanya Denton
May 07, 2019Iron Contributor
Gary_Stewart I don't believe you can create that type of column in site scripts at the moment. This is a good tool to see what is available at the moment https://www.sitedesigner.io
- Gary_StewartMay 08, 2019Copper Contributor
Tanya Denton thanks. That is a pretty handy tool.
- Beau CameronMay 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\" />"