Is there way to get the APPIAN_HOME value thru java APIs in plugin code. I went

Certified Senior Developer
Is there way to get the APPIAN_HOME value thru java APIs in plugin code. I went thru lots of API but couldn't figure out by myself.

Thanks for all the help.

OriginalPostID-177180

OriginalPostID-177180

  Discussion posts and replies are publicly visible

  • What exactly do you need to get from Appian folders? Maybe there are other ways, such as getting from classpath.

    Also you could try to get "current" directory, and from there, you can come up with relative path to the folder inside Appian directory structure:

    Path currentRelativePath = Paths.get("");
    String s = currentRelativePath.toAbsolutePath().toString();