Add description for Multiple Documents in process from a task

1
0
-1

Hello,

User will upload multiple documents, and has to add description (in input widget) for each document.
I tried to add description property since it is already there to the uploaded file

supportingDocumentsInput: $data.context.supportingDocuments_ref.map( doc => ({
id : doc.id ? doc.id.toString() : null,
filename : doc.newValue && doc.newValue.filename ? doc.newValue.filename : null,
tempPath : doc.newValue && doc.newValue.tempPath ? doc.newValue.tempPath : null,
contentType : doc.newValue && doc.newValue.contentType ? doc.newValue.contentType : null,

description: doc.newValue ? "description Added!" : null
}))

it's added when file uploaded but at next task (review task) I found out each file has empty description like I didnt set the real description for the file of multiple documents.

Any help would be appricated

Comments

Submitted by emmanuel.duchas... on Mon, 07/05/2021 - 15:38

Hi,

If you have access to the database, can you check that the description field of the database table document_mapping is correctly filled with your text?

If not, it means that the data is not correctly sent by your UI-Designer page.

If so, it means that the data is correctly read by your UI-Designer page on the next task

Hope this helps

No answers yet.
Notifications