Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

The ConceptDescription information filled in the AASX is missing when exported in JSON format #667

Closed
A-li-cia opened this issue Nov 22, 2023 · 1 comment

Comments

@A-li-cia
Copy link

Describe the bug
I added multiple pieces of information (value, unit, description in three languages) to the “ConceptDescription” category in AAS. However, whether exporting to a JSON file or querying via URL, the returned data does not include the information within the red-marked area.

Expected behavior
Where can I add information such as units or symbols? Looking forward to a reply, thanks!:)

Screenshots
ce9ab114b93b537dd5a70b9033d6961

@mhrimaz
Copy link
Collaborator

mhrimaz commented Nov 22, 2023

First this is version 2, please consider use version 3 of the metamodel to avoid any migration problem.

Second, by design, the information that you write won't be inside submodel. They will be stored at a different place. Only the id of the concept description (which you marked as black) will be there. The reason that you don't see it is that you probably used the export submodel to json which only has submodel information.

if you want the whole environment then you should use the save as function and specify json format:
image

Then you will get the json of your whole aas. in submodels you will have only a reference to the concept description id. then look at the conceptDescription array and find your concept. You will find the unit,... there. the same principle holds when you deal with REST API.
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants