92584 92583 92582 92581 92580 Hi .. we h

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

Parents
  • Documents can be dynamic here. Say initially there are 5 documents to be collected and later it changed to 6. PV can handle it as it will be Document (Multiple). But I have category on top of that.

    Category
    -----id
    -----categoryName
    -----<somemorevariables>
    -----documents

    Here i will define one PV for each category say there are 5 initially. So when i come out of the form, i can loop through and copy documents into respective categories. But the problem comes when business adds a new category at some point of time, which requires a new PV to be defined for category #6 hence resulting in a code change. This is what i meant as will affect the dynamic nature.
Reply
  • Documents can be dynamic here. Say initially there are 5 documents to be collected and later it changed to 6. PV can handle it as it will be Document (Multiple). But I have category on top of that.

    Category
    -----id
    -----categoryName
    -----<somemorevariables>
    -----documents

    Here i will define one PV for each category say there are 5 initially. So when i come out of the form, i can loop through and copy documents into respective categories. But the problem comes when business adds a new category at some point of time, which requires a new PV to be defined for category #6 hence resulting in a code change. This is what i meant as will affect the dynamic nature.
Children
No Data