Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+2
person also asked this
people also asked this
Replies
8 replies
Answers
1 answer
Subscribers
9 subscribers
Views
6799 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How can i get the path of a document uploaded in appian based on document id? Th
Jess
over 12 years ago
How can i get the path of a document uploaded in appian based on document id? The idea here is save the document id of an image to db and later on display to a form using IMAGE field?...
OriginalPostID-60340
OriginalPostID-60340
Discussion posts and replies are publicly visible
Parents
0
Abhishek Shadangi
Appian Employee
over 12 years ago
Hi Jessica, since you are planning on saving the image ID to the database, I would highly recommend to use the UUID when storing in the database, because UUID is the only unique identified that stays the same when you export the Application from one environment to another. You cannot rely on ID when migrating Application over systems.
You can do the following:
1) Create an Application with the image (Document), if you don't already have an Application including this image.
2) Export the Application, and grab the UUID by reviewing the LOG file. You can use this UUID to store in the DB.
3) Now if your process get the Document back by using expression getcontentdetailsbyuuid("<image-document-uuid>").
4) You can then use the Document directly in the image forument component.
Please let me know if you have questions. Good luck!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Abhishek Shadangi
Appian Employee
over 12 years ago
Hi Jessica, since you are planning on saving the image ID to the database, I would highly recommend to use the UUID when storing in the database, because UUID is the only unique identified that stays the same when you export the Application from one environment to another. You cannot rely on ID when migrating Application over systems.
You can do the following:
1) Create an Application with the image (Document), if you don't already have an Application including this image.
2) Export the Application, and grab the UUID by reviewing the LOG file. You can use this UUID to store in the DB.
3) Now if your process get the Document back by using expression getcontentdetailsbyuuid("<image-document-uuid>").
4) You can then use the Document directly in the image forument component.
Please let me know if you have questions. Good luck!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data