Adding Attachment in Pega
In Some cases we need to use attachment in application, if we are creating application for Employee Recruitment process then candidate have to upload the resume. In such scenarios Attachment is used.Lets try this scenario.
First of all we have to create one Attachment Category rule, Attachment category is in Process->Attachment Category
In Attachment Category we have to give the access, whether the Application user can edit , Create, Delete, etc
Then we have to configure Section.
In Section I added a button to add attachment, On click we add an action "Local Action" there we have to give Local Action as AddAttachments and Target as Overlay and Overlay Format as Standard.
Now we will see how its works,
On Clicking the Add Attachment.
There we have to select the Category and File to upload
After Click Submit we can see the attached document with the case.
All the attached files will be saved in Work-Attachment class
Thats all Adding attachment to case through flow.
Thanks bro.
ReplyDeleteWelcome Bro
DeleteCall data
ReplyDeleteHow to restrict with File format. Example: .Doc, .Pdf, .xml
ReplyDeleteHi,
DeleteWork-.SaveAllAttachments used to save the attached document.We are calling this activity in AddAttachment flow action's Post Processing
Param.hiddenFilePath Contains uploaded file(eg
C:\fakepath\Background_Pattern.jpg ) With this parameter we can validate attached document.
hope this will help u.
Excellent Mate
ReplyDeleteExcellent team. Can un pls explain about document versioning?
ReplyDelete