Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to import Shacl files in the FDP via the Website(UI) #99

Open
priya-gitTest opened this issue Jun 18, 2024 · 3 comments
Open

How to import Shacl files in the FDP via the Website(UI) #99

priya-gitTest opened this issue Jun 18, 2024 · 3 comments
Assignees

Comments

@priya-gitTest
Copy link

How to import these files in FDP ?

https://github.com/Health-RI/health-ri-metadata/tree/master/Formalisation(shacl)/Core/PiecesShape

@kburger
Copy link
Contributor

kburger commented Jun 18, 2024

Hi @priya-gitTest,

  1. Make sure you are logged in as an admin user.
  2. Click on your user icon in the top right of the UI, and select the "Metadata schemas" option.
  3. Here you see a list of schemas. Click on the schema you want to update (for example Catalog).
  4. The last field on this page shows the Form definition. Here you can paste the shape definitions as found in the PiecesShape folder.
  5. Click Save and release on the bottom of the page.
  6. Select a version number
  7. Click Release.

The schema should now be updated. A proper description of this process, as well as a more user friendly way to import the files, are in progress.

Hope this helps.

@priya-gitTest
Copy link
Author

priya-gitTest commented Jun 19, 2024

Thanks Kees. I can import the SHACL file.
I have now run into a few new issues though...

  1. I cannot import the previously importable catalog and get <Response [400]>.
  2. Cannot update the existing Catalog : Error : Unable to update entity data.
  3. also cannot delete the existing ones. It was possible earlier.

@priya-gitTest
Copy link
Author

image

I checked the file I wanted to import via code and their it seems to be validated but somehow, cannot do it via the code on FDP after putting in SHACL Catalog. Not sure what goes wrong their and I get the <Response [400]>.

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

No branches or pull requests

2 participants