Posted: 16 Nov 2016 4:35 EST Last activity: 22 Nov 2016 5:06 EST
Customize Validating FileExtension Attachment
Good day everyone,
I wonder if the attachment from the PEGA can be customize by file extension? From another reference post they said to OOTB Filepath or using pyFileAttachment.
I've already check the Control:FilePath and it used 2 parameters to implements a file browser.
SetEncodingNow - Set to truei if File encoding should be updated immediately and pySetValueFromFileName -- specifies an element to be updated with the selected filename via an onchange event if the element is empty.
So do I need to add another parameter for my input validate file extension or do I need to make Java activity to customize it?
In the Java Activity, Pega make Copies from the selected files into the clipboard as a page list. This will be used in pzMultiFile path control, which triggers this activity to copy the chosen files data as a page list into clipboard.
In my case, I need to make validate within the file attachment type, so in this line: