No support for environments?
When installing/configuring the app, you give spaceId and CDA token from the space you want to reference content from. There is no support for targetting a given environment on the target space.
While I can see myself adding this functionality, an additional problem lies in the fact that you cannot configure this (or any?) app differently per environment. When installing the app, it asks for which environment, but it doesn't seem to do anything with this info. I choose the 'develop' environment - which is one of 3 - but the app is immediately available in all 3 environments and it is not possible to have a different configuration.
I would like to :
- configure the app on my dev environment and point it to the dev env on the shared space, with an APIkey that can access only dev.
- configure the app on my acc environment and point it to the acc env on the shared space, with an APIkey that can access only acc.
- configure the app on my prd environment and point it to the prd env on the shared space, with an APIkey that can access only prd.
If this is not possible, I have a possible workaround in mind, but would like to see the answer first.
Thanks, Jeroen
I have to correct myself. After adding the option to target an environment, I can install the app separately on all (source) environments. No idea what went wrong the first time, but that's a big issue that's now gone.