Question
Browse and read the file
Hi All,
I am trying to implement below requirement.
When an activity is run manually. it displays a the simple harness where user browse the file and click submit button. on click of submit button, i should read the file that user browsed and parse that xml file.
I am trying to use File path control and on click of the submit button i am calling an activity to read the file from pyFileUpload property on pxRequestor.
But nothing gets set in the pyFileUpload property.
Please advise on how to achieve this requirement. This is not part of any work object flow. User runs the activity that displays harness. user will browse and hot the submit button.
Thanks
Rama
***Updated by moderator: Lochan to update Categories***
Hi RamaKrishna,
Thanks for posting on PSC.
Are you trying to upload and parse Excel File? If yes, we do have "MSOParseExcelFile" an OOTB activity for the same.
- Detailed implementation , Even it has explanation about your query regarding "pyFileUpload" (Refer Step 3).
Hope it helps in implementing your use-case, kindly notify if it does by marking this post as answered for larger Pega audience and tracking purposes.
Regards,
Asif