This project has moved. For the latest updates, please go here.

take metadata of folder

Jan 25, 2010 at 2:49 PM
Edited Jan 25, 2010 at 2:49 PM


I have a folder with metadata in a document library.

If I can, using SPServices in the moment when I upload a document in a folder, take metadata of this folder and write this metadata to document?

Thank you! SPServices is great!

Jan 25, 2010 at 3:30 PM

Sure you can!  If you add a call to GetListItems into the PreSaveAction on the form, you can grab the values you want and set the appropriate columns before the item is saved.  Let me know if you have questions on how this can work.


Jan 26, 2010 at 5:54 AM

Thank you! I will try do this.

Jan 26, 2010 at 11:36 AM

Great. Let me know if you need help along the way.  I remembered this blog post of mine which gives an example of using the PreSaveAction, in case it helps.  It doesn't show anything from this libary, but it explains the PreSaveAction function.