IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#57914 - 03/08/21 12:36 PM Sharing the Same Function with Multiple Documents
Stephen O'Leary Offline
OL Newbie

Registered: 10/13/20
Posts: 8
Hi All,

I'm using the same global function within many PP Design documents. However, if I make a change to this function on one of these documents, I then need to import a copy of the newly changed function into the global function folder of each of the other documents as all documents must use the same/latest copy of this global function.

My question is this, does anyone know of a way to share global functions across all these document i.e. that when a change is made to the function all the other documents get access to the changes made to it automatically?

Any help would be appreciated.

Top
#57915 - 03/08/21 01:56 PM Re: Sharing the Same Function with Multiple Documents [Re: Stephen O'Leary]
RobertOtis Offline
OL User

Registered: 08/26/13
Posts: 90
Loc: Montreal,Quebec
hello Stephen,

Not possible to update all forms automatically, each document is unique and the changes need to be apply to each PP design document.

Top
#57916 - 03/08/21 02:28 PM Re: Sharing the Same Function with Multiple Documents [Re: Stephen O'Leary]
jouberto Offline
OL Toddler

Registered: 04/18/18
Posts: 50
Hi Stephen,

I have not tried any of the following, but maybe you could simulate some kind of centralized content for your functions by having their code in a db or spreadsheet, have workflow pull the contents and put it in a metadata field, then have each template pull the metadata field value in the function definition.

Needs testing, might not work, but that would be the first thing I try if I wanted to attempt what you describe.

Top