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
1641 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Is there a configuration in the smart service node(s), where I could change the
ramakg
A Score Level 1
over 9 years ago
Is there a configuration in the smart service node(s), where I could change the file extension? (.txt to .abc)
OriginalPostID-203490
OriginalPostID-203490
Discussion posts and replies are publicly visible
0
Tom Ryan
Appian Employee
over 9 years ago
AFAIK you would need a custom expression or smart service to directly change the file extension of an existing file. However, depending on your requirements it may help to create the file with the target extension to start with, using the Text from Template plugin:
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
akhileshn3539
A Score Level 1
over 9 years ago
You can create a document with target extension as suggested by Tom.
If this does not work. One solution I can think of is to use "Appian Document from Base64 String" custom smart service to change extension of a file. For this, you will need to generate the base64 representation of the source document and pass it as input to smart service along with new extension and other file parameters.
Place this smart service in an independent sub process and use this subprocess for renaming document. Set data management policy to delete the subprocess as soon as its completed to free up the memory. Avoid this approach for file size > 10 MB, for such cases better would be to find/develop a custom plugin to change the document extension.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ramakg
A Score Level 1
over 9 years ago
Thank you Ryan and Akhilesh and I have achieved by using "Appian Document from Base64 String" smart service
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel