cancel
Showing results for 
Search instead for 
Did you mean: 

How do you script a customized check in / merge of LDM models

Former Member
0 Kudos

Hello everyone,

our client would like to have a customized check in dialogue for logical data models.

We are currently working on a development branch on one logical data model, in which several topics (using entities, attributes and relationships) for different releases are designed.

Right now we manually integrate all changes that belong to one distinct topic manually from the development branch LDM into the release branch LDM.

Is there any way to automatically merge only those changes flagged with a certain tag (e.g. an Extended Attribute) into another model? Is there a way to script this?

Thanks a lot,

Natalie

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

please look in the help-> Metamodel Objects Help for the PdRMG objects. there is some example code as well.

GeorgeMcGeachie
Active Contributor
0 Kudos

I had a quick look at the help file, and didn't see anything that would help answer this specific question

GeorgeMcGeachie
Active Contributor
0 Kudos

I haven't given the actual code any thought, but logically you'd need to build an object selection (using your extended attribute) which you'd use to select the changes to apply during the merge.

former_member438037
Participant
0 Kudos

Hi George,

this is topic very interesting for me too. I examined metamodel and all the merge functions available there don`t allow using object selection for merging only demanded subset of objects. You are allowed only to influence mass criteria like all object creations or all object modifications to be performed during automated merge, but no particular objects selection. Maybe I am missing something but this would be quite important breakthrough for more customers.

I only found MergeInto function, which should allow merging object by object, but I am not sure, how it would deal with more complex situations like merging a table which has references to other tables, etc. Have you made anything in this field so far?

GeorgeMcGeachie
Active Contributor
0 Kudos

Sorry, I've never looked into scripting this patrt of PD