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

JSON - How to expose custom Metamodel

mrajih_DTCC
Super Contributor

Hi,

In V4 when I need to expose a custom Metamodel section, I create a new Metamodel diagram, add all targeted Metaclasses and associations, then use an OOTB script located in Mega installation folder to generate a JSON file with necessary code.

Is this script still available in V5? If not, is there a new method that I Can use ?

 

Thank you

Mehdi

3 Replies

mrajih_DTCC
Super Contributor

mrajih_DTCC
Super Contributor

Thank you Olivier.

 

Can you please point me to the folder location where this script is ?

 

Once the JSON is generated I'll package it for deployment.

 

Thank you

oguimard
Retired

Hello,

The method is the same.

You then put your generated JSON in the custom module. https://store.mega.com/modules/details/has.custom 

Folder : C:\...\HOPEX Application Server\...\.shadowFiles\has.custom\15.2.0+13\hopex.graphql\CONFIG\V3\Custom

You package the module to push it to prod as explained in the readme and howto.