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
16 replies
Subscribers
7 subscribers
Views
4900 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
92584 92583 92582 92581 92580 Hi .. we h
kumaraveln
over 9 years ago
92584
92583
92582
92581
92580
Hi .. we have a scenario with SAIL fileUploadFiled component .. We are aware that when we upload a document, it will be stored in a temporary location and will be moved to coded location only after submitting the form ..
if we use a PV of type document type it takes care of everything .. But we don't want to use PV here ..
Our scenario is
1. Our CDT is an array of categories.
2. Each category need multiple documents to be captured.
3. Since its a CDT, we capture documentId as Integer. So our fileUpload should save into Integer variable. We are able do do all the saving stuffs and we have all the temporary document ids as an array of array.
4. We persist the entire CDT into database and retrieve them back for displaying.
5. Our initial assumption was the document will be moved from temporary location to desired coded location with the same document id.
6. Now the problem is appian is not moving the document as such. Its...
OriginalPostID-132941
OriginalPostID-132941
Discussion posts and replies are publicly visible
0
sariqs
over 9 years ago
Just to clarify that we have a document to be associated with a CDT not array of document.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vvravikumarl
over 9 years ago
Hi kumaraveln,
Was this problem resolved? If yes, please suggest the solution. I'm also facing similar kind of issue.
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kumaraveln
over 9 years ago
Ravi, we couldn't find any out of the box solution. So we used variables of type Document (Multiple) to capture array of docs for each category. So since we have 17 categories we defined 17 process variables of type Document (Multiple) and mapped them to the ri's in SAIL form. After user submits the form, we loop through them and copy only the docId if type Integer into our CDT variable at respective index.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vvravikumarl
over 9 years ago
Thx kumaraveln for your reply and the solution. Even i'm trying to find the easiest way, I'll intimate if I found something helpful...
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sariqs
over 9 years ago
Hi Ravi,
In our case document categorization was required to be done manually by user. Such as with document type Address Proof, Birth date proof etc.
We were first accepting all the documents in first form and in the second form (chained activity) we are showing all the document in the list to categorize the document with a selection box.
We are storing the documentid reference in CDTs by looping through the document array as described by kumaraveln.
I guess you have requirement of dynamic category of documents which is not possible right now.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vvravikumarl
over 9 years ago
Yes Sariqs,
Based on the checkbox selected on the previous section, the document check list will vary. It is completely dynamic. And another problem here is, I've a multiple file upload field in the checklist.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<