Hi,
I have a requirement of retrieving file contents and file path from pegacloud instance.
For a cloud instance, its store in pegacloudrepository under /attachments folder.
How can we get the file path ?
Thanks
Deepika
Hi,
I have a requirement of retrieving file contents and file path from pegacloud instance.
For a cloud instance, its store in pegacloudrepository under /attachments folder.
How can we get the file path ?
Thanks
Deepika
@Deepika Sree
You can try one thing, run a report on Data-Work-Attach-File class where you compare the file name against pxAttachName in the filters, and the file path should be present in the pyContentLocation column.
@Deepika Sree - Open Dev studio and from header navigate to Configure → System → Settings → File storage
Will find the table with File spec column. Which has the related path.
Use the Repository API to interact with your files or configure a file listener to process your files. Direct access to files using any method other than the Repository API is not supported.
https://docs.pega.com/bundle/platform/page/platform/data-integration/using-repository-apis.html
Thank you.
@Priyanka Boga Thanks Priyanka for suggesting the solution
@SohamM95 Thanks Soham for the solution. I tried a similar approach but used lookup as a datasource in a datapage to fetch the pyContentLocation .
Thanks
@SohamM95 Hi Soham, pyContentLocation is not a exposed property. In such a scenario, how can the RD be successful?