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
3 replies
Subscribers
5 subscribers
Views
1272 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am passing Document type variable to smart service plugin but its generating v
tushark171
over 9 years ago
I am passing Document type variable to smart service plugin but its generating variable of type Long in Java. I want path of that document in Java. Can some one please suggest how can I retrieve it from long that is available in java.
Thanks in advance!
...
OriginalPostID-117063
OriginalPostID-117063
Discussion posts and replies are publicly visible
0
elizabeth.epstein
over 9 years ago
Documents are represented by their IDs, which are of type Long. To get the filesystem path of the document, use the ContentService.getInternalFilename() API.
forum.appian.com/.../ContentService.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 9 years ago
If you want a code example download the source code for the 'Add documents to zip' plugin- will match your usecase
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
tushark171
over 9 years ago
Thanks Lizzie/Padmanabh. API worked for me
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel