Skip to Content
0

Distributing model templates from the library share a single repo instance

Jun 22, 2017 at 03:42 PM

38

avatar image

Hi, there,

We have defined a set of meta-model extensions in an OOM Language Definition file. We have wrapped this ".xol" file in a model template -- that is, an OOM model document with additional settings and configurations that follow our object modelling standards.

We would like to have this template distributed to all our modelers across the enterprise, and according to the SAP PowerDesigner documentation, this should be possible by checking them into the Library area of the repository.

During testing, we encountered a rather critical problem: When users' instances of their local library are updated and they create a new model from our new template using the "New Model" dialog window, the new document they get is somehow still tied to the single instance of the template in the repository library.

In other words, whenever they try to check-in their new model, it will actually override the template from the library repository. What's more is that all new instances of models from this template from all users override the single instance of the template. It's as if it is not working really as a template, but rather as an instance clone, complete with repository meta-data and version information.

Is there something we are missing? Is this a known issue? Is there a way for us to create a template to share across the enterprise without having to direct all users to download it separately and copy the template into their local template folders themselves?

Please help!

- j.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Phillip Lam
Jun 22, 2017 at 09:21 PM
0

Go to Tools->General Options. Click Model Createion. What is the path for Model template?

You can modify it so it points to local .Library folder.

If you cannot figure it out, please open a ticket.

Share
10 |10000 characters needed characters left characters exceeded
James Pujals Jun 23, 2017 at 03:23 PM
0

Hi, Phillip,

As per my description above, this is part of the steps that we already tried. We have no trouble making the template available in the "New Model" dialog window. What we have trouble with is in getting it to actually work as a stand-alone template, while simultaneously making it available for everyone to use from the repository.

It seems that once you check in the template to the repository, all instances of this template created by users will point to the single repository template, overwriting it.

After setting up as you suggested and checking in the model template into the repository, I do the following steps:

.

  1. File > New > Create New Model
  2. Select Templates
  3. Select the specific template from the list
  4. Save the new model instance created by this template

.

At this point, the new model instance has a "red check mark" indicating it already exists in the repository with local changes -- even though it is a completely new model from the template. I proceed:

.

  1. Right+Click new model instance and select "Check-In"

.

The "Check-In Options" window shows the fields for "Folder/Project," "Name," and "Version" as read-only -- all pointing to the location of the template in the repository.

- j.

Share
10 |10000 characters needed characters left characters exceeded