Customer Portal

Custom Java Components - Accessing Workspace Directory

Comments 2

  • Avatar
    pfield
    0
    Comment actions Permalink
    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
  • Avatar
    admin
    0
    Comment actions Permalink
    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

Please sign in to leave a comment.