Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
1 reply
Subscribers
5 subscribers
Views
1132 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Is there way to get the APPIAN_HOME value thru java APIs in plugin code. I went
mohammads
Certified Senior Developer
over 9 years ago
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
Parents
0
rawich
over 9 years ago
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();
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rawich
over 9 years ago
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();
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data