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

How to get default value of choice field for the folder inside of a Library in SharePoint 2010

$
0
0

I have created a Document Library and created one folder inside this library. Then I have added one choice field namely "Fruits" in this library. The choices for this property are Apple, Mango, Banana. During the creation of this property, I have set "Apple" as Default value. Saved the changes.

Now, I go to Library Settings->Column default value settings, there I can change the default value for both "Library" and "Folder". I changed the default value for the folder to "Mango". Now when I uploaded a document inside the library, the value of this choice "Fruits" property for the document will be "Apple". If I upload a document inside the folder of that library, the value for this choice property for the document will be "Mango".

Now my requirement is to get the default value of the folder programatically (C#). We have searched over the scheme of List using the SharePoint manager, but could not find this information.

Is there any SharePoint server api or web service to get this information?

Thanks


tandukar


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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