Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How can we set the default value of a Site column

  Asked By: Nagendra    Date: Aug 17    Category: Sharepoint    Views: 11063

I have written a utility to create site columns bases on the xml given. It handles mostly all types of fields. I have a requirement where I need to set the default value of a site column of type Text to the Document Name. Where Document Name is another site column. Is it possible to do that?



3 Answers Found

Answer #1    Answered By: Aditiya Kapale     Answered On: Aug 17

I think I can write a small workflow to do this. On Item updated, I can take the value of the Document name column  to put in the required field.

Answer #2    Answered By: Cristopher Gould     Answered On: Aug 17

I assume you would like to update the default  value of a column  upon upload of the document, correcct? If yes then writing an event handler should help here, ItemAdded event and there you can set  the value of the column to the value of the Document's title.

Answer #3    Answered By: Selena Glenn     Answered On: Aug 17

I think event handler would be much better.

Didn't find what you were looking for? Find more on How can we set the default value of a Site column Or get search suggestion and latest updates.