Custom Java Components - Accessing Workspace Directory

Answered

Comments (2)

  • Avatar
    pfield
    Hi,

    After some more exploration of the graph parameters I found SANDBOX_ROOT which gives me the path I was looking for.

    String WorkingFolder = getGraph().getGraphParameters().getGraphParameter("SANDBOX_ROOT").getValue();


    Paul
    0
    Comment actions Permalink
  • Avatar
    admin
    Hi Paul,

    Yes, the SANDBOX_ROOT parameter is exactly what I would suggest in your case. You can find the list of parameters on the following page:
    https://doc.cloverdx.com/latest/server/graph-parameters.html
    Please don't get confused by the fact that this documentation page points to the Server related topic. These parameters can be all used by the Designer as well.

    Have a nice day, Eva
    0
    Comment actions Permalink

Please sign in to leave a comment.