Discussion

File not saved in Service Export Directory through @baseclass.UploadFile Activity

Hi ,

I am trying a POC - to generate an excel file(.XLSX format) through activity : MSOGenerateExcelFile and trying to upload this generated file to service export directory through pega activities. later will parse this file and load the content to their Clipboard, So that I can show the values in UI.

Currently I am facing issues even though I got the success message - File uploaded successfully, I am not able to see that file in Service export dir. If I do download then file got generated and popup came to download the file . But upload not functioning properly. No error in logs as well.

Also when I try to parse this file using same service path , no luck either as no files available in Service directory .

Let me know if I missed any .Attachments for reference. Pega- 7.1.6 version

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Correct Answer
May 31, 2017 - 3:38pm

Thanks All , Able to get the excel generated and  save it to service export Dir path .

Comments

Keep up to date on this post and subscribe to comments

April 25, 2017 - 5:09am

What are the pega activities you have used to upload the document?

 

 

April 25, 2017 - 11:45am
Response to baigh

@ Baigh - I have used   @baseclass.UploadFile  for this . gave success message- "file uploaded successfully" and No error in logs as well , but when I see in service export dir, could not find that file .

May 31, 2017 - 3:38pm

Thanks All , Able to get the excel generated and  save it to service export Dir path .