File upload

I need to upload files from a portal. I try to use Pega pyAttachmentScreen section for it. I initialize it first with pzInitAttachContent activity. After file uploading I take file content from dragDropFileUpload.pxResults page.

It works quite well when I use drag & drop utility on this section.

But when I use the button to select my file I usually get an error message like this: “pxAttachName: (Data-WorkAttach-File)pxFileNotFound ImgTest.gif”. Sometimes it works with no error.

The same error is when I use pzBrowseAttachments section.

Can it work well? Maybe I need some more initialization, or there is another way of file loading?

@MaciejH5

The problem has been resolved. After selecting “Work area” check box on Advanced tab in the harness definition as it is shown on attached picture it works perfectly.