‎10-05-2023 05:08 PM
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
Solved! Go to Solution.
‎10-05-2023 06:31 PM
This is the link to deploy and run the script generator :
https://community.mega.com/t5/REST-API/Create-custom-schema-SDL-JSON-custom-endpoint/td-p/24218
‎10-05-2023 05:13 PM
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
‎10-05-2023 05:11 PM
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.