1

I've been struggling to create a library which uses several site content types to create forms/documents using metadata of other lists in the same site.
I've looked around the site and this question seems to be exactly what I am asking.
Use of QuickParts in Word Templates in combination with Site Content Types I've got 1 root site and several subsites from that rootsite.
I've created my word template, uploaded to my library A, resided in subsite 1, and downloaded the file again to enter the quickparts. Then I upload this new file as my new content type in my rootsite, and it works when I add that content type to library A. All fields are updating as their respective column updates. But then when I add the same content type to my library B, resited in subsite 2, all the quickparts stop working...except for one...and for the life of me I could not figure out what was so special about that one field...it is just a single line among a few other single line fields.

the answer by Oskar Lundgren seemed promising but I am not sure where that piece of code he provided should go...I only have sharepoint designer, is it still possible to overcome this SourceID issue?

  • Did you manage to resolve your issue? I have the same problem. The code by Oskar Lundgren I guess should be run for every site column. It could be run in a console application for example. – Submits Nov 24 '15 at 14:04
  • Yeah I didn't know where to try the code...so I ended up creating site columns for all of the fields I needed filled out, and used 'add existing site column' in my library, which filled out the quickParts fine~ – user2686465 Nov 25 '15 at 18:00
  • So you added your site columns to the library and not to a content type, is that correct? – Submits Nov 25 '15 at 18:08
  • Yes. So site columns were added to my library, then I uploaded my template into such library and downloaded it again, which adds all the fields as properties, then I can add them into my word document as quickpart fields. After adding all the quickparts I uploaded the document again into my content type, and now if I try creating another document in my library using this content type all my quickparts are populated – user2686465 Nov 25 '15 at 18:12
1

So I'm not a big programming person...and didn't really know what to do with this SourceID issue...but I figured that if every new column has a different SourceID then I'd just need to use one common column to avoid having different SourceIDs

Hence, I created Site Columns in my root site, and then in the libraries in my subsites, I simply use 'Add From Existing Site Columns' instead of 'Create a New Column' for all the desired fields, worked perfectly without code~

  • Thanks for coming back and sharing your answer with us :) I have the same problem so will give this a shot and let you know how I get on. – Submits Nov 26 '15 at 13:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.