Skip to main content
14-Alexandrite
May 14, 2019
Question

Upload Primary Content from External Location

  • May 14, 2019
  • 1 reply
  • 2016 views

Hello,

 

We have a requirement where we would like to leverage a Sharepoint location for a Document and in Windchill create a template with Sharepoint location with like an excel file, Now what we want is, when New Document is being created in Windchill, The Primary content of the new document would be the excel file pulled directly from the SP Site, The intent is that some templates that are managed outside of Windchill wouldn't have to be managed multiple places, Any help is appreciated. Please recommend a non Customization approach.

1 reply

5-Regular Member
May 20, 2019

Hi, you can create custom Workflow expression for a new document and assign content using WNC Java API.

14-Alexandrite
May 20, 2019
Thanks for the reply.. But i want this only from New document creation..I was hoping I could achieve this through document template.

Abhishek
5-Regular Member
May 20, 2019

Do you mean, to add a piece of JavaScript into a template which will download content from SharePoint and upload into Windchill?