Forum Discussion

Phillip Poole's avatar
Phillip Poole
Copper Contributor
May 23, 2018
Solved

Subsite postcreation Script?

My company uses subsite templates for projects.   

We created an a drop off library that automatically forwards documents to respective folders in a different doc library based off of tags.   Unfortunately, when we create the new subsite, the link that resides is reflective to that of the template, not the new site.   The link has to be updated after the subsite is created manually.

 

Can you help me with the best way to create a post script that takes the variable of the subsite-name or link and updates those links automatically?

4 Replies

    • Phillip Poole's avatar
      Phillip Poole
      Copper Contributor

      Well, I created a subsite.

      I then added all the document libraries required.

      Then i created a document library, which is called a drop off library.  This has rules in it to forward documents to other libraries.

      I modified the home page to view the document libraries.

      Saved it as a template and we use that for all new project subsites, when they create a new subsite, they have that option under the custom tab to select the company project template.

       

      Is this what you are looking for?

Resources