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
6 subscribers
Views
1029 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi, When I am passing document data type to smart service I am gettin
tushark171
over 9 years ago
Hi,
When I am passing document data type to smart service I am getting long in Java class. By using ContentService I am able to get InternalFilename for it. Is there any way that I can get object of file and then mime type and extension of file in java ?
Thanks!!!...
OriginalPostID-118309
OriginalPostID-118309
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 9 years ago
The ContentService API allows you to retrieve a Content object such as a document
Document doc = (Document) cs.getVersionId(documentLongId, ContentConstants.VERSION_CURRENT)
the Document object has different fields you can retrieve through getters that will provide additional information about the document such as the extension. There's no concept of MIME type in the Content objects in Appian.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 9 years ago
The ContentService API allows you to retrieve a Content object such as a document
Document doc = (Document) cs.getVersionId(documentLongId, ContentConstants.VERSION_CURRENT)
the Document object has different fields you can retrieve through getters that will provide additional information about the document such as the extension. There's no concept of MIME type in the Content objects in Appian.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data