Hello
I have to change the value of a deployment parameter. Is there a way to find out, in which other workspaces this deployment parameters is being used?
Thanks, Vera
Hello
I have to change the value of a deployment parameter. Is there a way to find out, in which other workspaces this deployment parameters is being used?
Thanks, Vera
You can get the dependencies of a workspace using the v4 rest API. The call is:
$(FME_HOST)/fmeapiv4/dependencies?id=@Value(repository)/@Value(name)&type=workspace
For this to work you need to fetch all of your workspaces, thankfully there is already a CustomTransformer in the hub which will do this.
This obviously only applies to workspaces which are published on FME Flow.
Let us know if you also need to get that kind of info out of a workspace file itself
(Note this can also be used to look for dependencies of Web and Database connections too).
Great! Thanks a lot!
You are using the API V4 here. According to the documentation it’s still under active development and it’s not recommended to use it in production environments.
But for my purpose, to get this list of deployment parameters, it obviously works very well.
Thanks, Vera
Yeah but I think it's pretty stable now - the FME Flow UI is built on it and I think it's unlikely to change substantially. Most likely it's better to build anything against this v4 APi vs v3 which is likely to get deprecated soon.