Customer Portal

Best practices for shared/external subgraphs across sandboxes?

Comments 1

  • Avatar
    Lukas Cholasta
    0
    Comment actions Permalink
    Hi Markus,

    I would definitely suggest to use the first approach. This is usually the right way to share a commonly re-usable parts. The situation with ambiguous ${PROJECT} parameter can be quite easily solved by passing the absolute path to the subgraph which can be dynamically generated in the caller graph by a similar code:
    $out.0.path = toAbsolutePath(getParamValue("PROJECT"));

    or (they are equal)

    $out.0.path = toAbsolutePath("${PROJECT}");

    This will return the current absolute path of the project, so it have to be called in the parent graph and the resulting value has to be passed to the subgraph.

    Hope this helps.

    Best regards,

Please sign in to leave a comment.