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
11 replies
Subscribers
7 subscribers
Views
4078 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
strange behavior in 17.1 when I upload document using a!fileUploadField()
annap
over 7 years ago
When I upload a file using a!fileUploadField() and check the document ids of all other documents in that target folder, all doc ids get changed.
But when I upload a document through document tab in same folder then it doesn't change the doc IDs of other docs.
Am I doing something wrong or Is this a bug in 17.1?
Please help, thanks in advance.
OriginalPostID-267468
Discussion posts and replies are publicly visible
0
reginaldm377
over 7 years ago
Per appian documentation, I thought that was expected. Uploads via a!fileUploadfield() are given a temprary docId until the form the function is on is submitted.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jenn.pridemore1
over 7 years ago
Hi Anna,
Could you open a support case in regards to this behavior? We'd like to look into it more in depth.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
Anna, I tried the same thing on a 17.1 Appian cloud env. But it is working as expected
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
Attach the SAIL code, mention if you were uploading in Temporary docs folder and whether it was on-premise/cloud version and also the browser.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shailendras593
over 7 years ago
Agree with reginaldm377.
Have a look at the Notes section in the below link
docs.appian.com/.../File_Upload_Component.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
This is not about the temporary docId and permanent docId.. The OP knows that the docId before submitting the form is temporary, and only after submitting the form it is actually assigned a permanent docID.
The OP observed that the docId of other documents are getting changed when a new document is uploaded via SAIL form. Anna was able to show it to me and I too was surprised.. maybe its a genuine bug or maybe he is doing something wrong but it was surprising.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
annap
over 7 years ago
The described issue happens only when I test the interface in /design. It works properly when I used it in task form.
I attached one doc, its doc id was 3330 but it get changed to 3332 when I tested the interface and uploaded a another doc while testing.
Please find attached screen shots.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
annap
over 7 years ago
whenever I test the interface and upload new document in target folder then the doc ids are get changed for all document which are their in that target folder.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
Anna, this is not happening on 17.1 cloud. However, your screenshot is surprising. The docId has indeed changed and the "Last Modified time" has also changed and yet its not a new version..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shailendras593
over 7 years ago
Can you please paste your code for a!fileUploadField() component. What have you used as a target in this component btw?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>