Adding back ?_format=jsonld
Drupal requires the use of a
_format query parameter to get alternate representations of a node/media.
This means that when your content is indexed in Fedora, the triplestore, etc... it's URI will
be something like
http://localhost:8000/node/1 and not
If you are using a very early version of Islandora "8" (pre-release), then you may have URIs with
_format=jsonld at the end of them.
If you update to newer code, you will need to ensure that your site is configured to add
back to the URLs if you want to maintain consistency.
If you don't do this, you can end up with two copies of your objects in your Fedora repository (one with and one without
?_format=jsonld). You will also have two sets of triples in your triplestore.
Adding ?_format=jsonld to your URIs¶
To turn the
?_format parameter back on:
- Go to
admin/config/search/jsonldand confirm the "Remove jsonld parameter from @ids" checkbox is unchecked.
strip_format_jsonld: falseto your Milliner config. If you deployed using the default Islandora-playbook this file would be located at
If you are using Islandora-playbook and are provisioning new environments for your older Islandora, you'll want to lock down the variables in your inventory that control this config.