Managing GraphQL Schemas
You can use GraphQL Schemas provided in Hopex. You may also want to create your own ones.
Accessing the GraphQL Schemas
To access the GraphQL Schema:
1. Log in to Hopex Studio.
2. Click the GraphQL navigation menu.
The list of GraphQL Schemas displays.
Creating a GraphQl Schema
To create a GraphQL Schema:
1. Access the GraphQL Schemas.
2. Click New .
3. Configure the schema:
in Name field, enter the Schema name in Hopex
in Metamodel field, select the metamodel to which the GraphQL schema applies
in Profile field, select the profile concerned
in Schema Name: enter the Schema name
Generating a GraphQL Schema
To generate a GraphQL Schema:
1. Access the GraphQL Schemas.
2. Select the GraphQL Schema concerned.
*You can select several GraphQL Schemas.
*Use the search filtering tool to find the GraphQL schema.
3. In the list bar, click the Generate .
The GraphQL Schema Generation wizard appears.
4. In the Parameters section select your output delivery method:
Save to custom package (by default): the generated file is directly copied to the custom package folder
Email download link: the generated file is sent as a download link
5. (Optional) To send a notification email to other persons:
in Names of additional persons to notify, enter the name of Hopex persons
in Other email addresses to notify, enter other email addresses
6. Click Generate.
7. Dispatch your work (Main menu > Dispatch).
*A notification email is sent to you (and to any other person/address defined step 5) when the generation is complete.
Upon completion, with:
Save to custom package: the file is deployed in the dedicated folder of the Custom package and also accessible in the Custom Packaging > Content Manager > GraphQL page
*From the Content Manager > GraphQL page you can also upload your GraphQL Schema files, see Customizing GraphQL Schema Files.
Email download link: the generated file is sent to you as a download link by email.