mercredi 25 février 2015

set the column order while uploading a document in document library



am having a requirement to create a power shell script which set the column order from mandatory fiels to optional fields in the document library, when i try to upload a document.


if i elaborate, i am uploading a doc to the doc lib. which has the below columns:


columnA - [choice field - mandatory ]


columnB - [lookup field - mandatory ]


columnC - [single line of text - optional ]


columnD - [choice field - optional ]


columnE - [choice field - mandatory ]


now when the end user uploads a document in my doc lib, i would like to see the mandatory columns takes up the top order and then optional fields.


columnA


columnB


columnE


columnC


columnD


so, is there any script, through which i can set the mandatory columns which will be coming in top and the optional fields as next order








0 commentaires:

Enregistrer un commentaire