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

add site columns to a content type and surface columns in a view

$
0
0

Can this be done via stsadm or powershell? (or something?)

I'm working on a data migration and I need to be able to surface a column in each document library with a yes/no data field

This can be done by creating a site column and addign this to the Document content type (no custom content types in this environment) - the column then just needs to be added to every view for it to be available to users

So I can do it but only manually - my question therefore - can this be done programmatically?

I've looked at the StsAdm 'createsitecolumn' Extension on Codeplex but havn't been able to get that to even install - but since I have only about 50 site collections I could create the site column manually - tedious but do-able

However with about 15,000 sites I need a non-manual solution - if anyone can help that would be great

Cheers

Jonj


Viewing all articles
Browse latest Browse all 25064

Trending Articles



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