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
2 replies
Subscribers
6 subscribers
Views
1203 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I am trying to use multiple file upload rule. It works, but I need to make that
saram
over 11 years ago
I am trying to use multiple file upload rule. It works, but I need to make that component required (at least one doc must be uploaded).
This is my SAIL:
a!sectionLayout(
label:"Supplier's Economic Offer",
firstColumnContents:{
a!applyComponents(
function: rule!ucMultiFileUploadRenderField(label: "Upload Files", files: ri!supplierFiles, target: ri!supplierTarget, index: _),
array: 1 + fn!enumerate(1 + length(ri!supplierFiles))
)
},
secondColumnContents:{....
How can I reach requireness? Thanks!...
OriginalPostID-105893
OriginalPostID-105893
Discussion posts and replies are publicly visible
0
leslies331
over 10 years ago
In case you didn't get a response...
/* Make at least 1 attachment required */
if(
and(length(ri!allDocuments)=0,ri!required),
a!textField(
readOnly: true,
value: "Document Required",
validations: if(and(length(ri!allDocuments)=0,ri!required),"One or more Documents must be attached: "&ri!requiredReason,null)
),
{}
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
leslies331
over 10 years ago
If a process participant adds a document, then removes a document, it appears to work, however, when I display the contents of the folder on a subsequent screen, the removed documents still appear. Any idea how to delete documents that have been removed from the folder?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel