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
7 subscribers
Views
2442 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
When we use the a!fileUploadField, we're saving the document Id to a CDT var
nickh413445
over 9 years ago
When we use the a!fileUploadField, we're saving the document Id to a CDT variable.
The document is uploaded, but the document ID generated on the file upload does not match the document ID in the knowledge center (off by 1), so we're unable to use the ID stored in the CDT to access the document.
Has anyone run into this before, and how do you go about storing the correct ID into a CDT variable?
OriginalPostID-159045
OriginalPostID-159045
Discussion posts and replies are publicly visible
Parents
0
akshayan
Certified Lead Developer
over 9 years ago
As soon as you upload a document, it's assigned a temporary id (and the document itself is kept in temporary documents folder). Once you submit the form, document is moved to target folder and a permanent id is assigned. Use the document id that is generated once you submit the form.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
akshayan
Certified Lead Developer
over 9 years ago
As soon as you upload a document, it's assigned a temporary id (and the document itself is kept in temporary documents folder). Once you submit the form, document is moved to target folder and a permanent id is assigned. Use the document id that is generated once you submit the form.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data