@RaviKumarR9055 this question has been raised before on the forum, for example see the response here.
Connect-File rule does not support access to the Pega Cloud repository. It is also being deprecated on newer releases and thus probably not your best option for solution.
As recommended on the most recent documentation, you can opt for repository data pages with OOTB Repository APIs (D_pxRepositoryTestConnectivity, D_pxNewFile, etc.,). To manage files in a Pega Cloud File Storage repository from within a Pega Platform application, use the Repository API to interact with your files “or configure a file listener to process your files”.
To manage files in a Pega Cloud File Storage repository from within a Pega Platform application, use the Repository API to interact with your files “or configure a file listener to process your files”. For more information, see Configuring a file service and file listener to process data in files on Pega Community (Pegasystems Documentation ).
To manage your files in a Pega Cloud File Storage repository from an external application, you can use the optional SFTP service. For more information, see Configuring custom SFTP and FTPS implementations for Pega applications on Pega Community (https://docs.pega.com/pega-cloud/cloud/pega-cloud-sftp-service ).
For more information, see Configuring a file service and file listener to process data in files on Pega Community:
The article mentioned below mentions the repository types handled by Pega Platform:
which include:
- JFrog Artifactory
- Amazon S3
- File system
- Microsoft Azure
- Custom repositories
As for custom repositories this article more information about creating a custom respository type.
In addition to the information above the following article:
The documentation the API that can be used is outlined in the following documentation:
https://docs-previous.pega.com/data-management-and-integration/87/using-repository-apis-your-application
An important note on the above documentation that will likely help:
“Refer to the pyNewFile activity in the Embed-Repository-Type-S3 class for an example of implementing the pyNewFile activity for the custom repository type. For usage documentation of these APIs, see the History tab of each API’s data page implementation in Dev Studio.”
Also:https://docs-previous.pega.com/data-management-and-integration/86/repository-apis
******************* Latest information can be found here - added by Moderator March 2024 ********
The Connect-File rule access to the Pega Cloud repository functionality was deprecated in Platform version 8.8 on Cloud 2. Support was stopped from Platform version 8.8 (on Cloud 2) onwards and on Cloud 3 it will need the below documented changes.
Process to update to Pega Cloud 3