cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Report DataSet Definition - Same Report DataSet property across 2 MetaClasses.

RGenin
Trusted Contributor

Hello, 

 

I'm trying to get a report that connects the same properties but on different metaclasses.

 

In this particular case, I have:

 

Content with 3 custom properties: CustomProp A, CustomProp B & CustomProp C

This Content is used in a DataObject or a MsgFlow.

On the DataObject, the content has 2 custom properties: CustomProp1 & CustomProp2

On the MsgFlow Content, each content have the same custom properties.

 

Basically, it would look like the following :

Scanned from a Xerox Multifunction Printer.jpg

 

Content fetched by the following query:

Select [Message Flow] Into @MF Where ([Containing Diagram].[Short Name] Like &"diag")
Select [Data Object] Into @DO Where ([Containing Diagram].[Short Name] Like &"diag")
Select [Content] Where  (([Data Object] in @DO) Or ([Message Flow] in @MF))

2019-11-07_12-06-01.png

 

I'm stucked at "Data Object or Message Flow".

It works well if I choose either Data Object or Message flow content, to get my custom properties. 

But I cannot choose both (Complains about Metaclasses not being the same).

 

Is it possible to achieve ?

 

Thanks a lot !

1 Reply

oguimard
Retired

In your case do you have an abstract metaclass that contains the attributes ? and for which the 2 metaclass inherit ?