Can we default a custom metadata attribute to the title of the document library
When dragging an email to a SharePoint document library, is there a way of defaulting a custom metadata attribute on the SharePoint content type to the name of the document library or folder?
-
James Fox commented
Hi James,
If I understand the question correctly, I can think of 2 options to meet your requirement:
Option 1: Location Level Defaults
-------------------------------------------
Assuming you're using SP 2010 or SP 2013 you could use a SharePoint Location Level Default on a Column in the SharePoint Library or Content Type (you could possibly script the default value as part of your site provisioning). The location level default value will be set as the default value on the saved items. OnePlaceMail also allows you to suppress columns from appearing in the 'Save to SharePoint' window (if you don't want the user changing). Alternatively, you can set the location to never prompt the user to tag the content with custom metadata, therefore, the emails will be saved with the captured email attributes along with the default values... but the use is not prompted. Note: You could also use Document Sets to achieve a similar thing.
Option 2: OnePlaceMail SDK
--------------------------------------
OnePlaceMail provides an SDK with a number of Events you can hook into within the API. You could write your own code on one of these events to achieve your requirement. Please refer to: http://www.scinaptic.com/support/0081.html
Can you confirm if the above assists with your question?
James