I'm trying to use the new embedded visualisation feature. I have an iframe that points to the graphdb server with url in the form :
http://localhost:7200/graphs-visualizations?uri=[...]&embedded
That works fine, but only for the default or previously selected repository. I can't find a way to select repositories without having to manually go to http://localhost:7200/
It seems that the repository selection is stored in a cookie, and that the X-GraphDB-Repository
HTTP header is available, but nothing seems to work with iframes.
Is there a way to select repositories through url ? &repository=
would be perfect.
More detail : we have an app with N "studies" backed with N repositories (with SPARQL queries), when a user selects a study, then an uri, we want to display a Visual Graph iframe. That works for the default or previously selected repository, but when she go to another study, we need a way to transparently update/select the repository in the Workbench app.
The only solution we see for the moment is to use a proxy that will set the cookie on the fly. But that seems overkill.