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
1021 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi Can I access value of constant in Plugin without passing it
tushark171
over 10 years ago
Hi
Can I access value of constant in Plugin without passing it as input parameter ? using ContentService or any other way ?
Thanks
OriginalPostID-145114
OriginalPostID-145114
Discussion posts and replies are publicly visible
0
sayedh
over 10 years ago
You can use the below if you have the constant's UUID.
Constant cons = (Constant) contentService.getVersion(contentService.getIdByUuid(constantUuid), ContentConstants.VERSION_CURRENT);
If you don't have the UUID, then you can put the constant in a dummy application and then look at the export log to get the constant's UUID.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel