Connect-File, Repository API and cloud storage questions

We have requirement to create one file using the case data for each cases.

We are using Pega 8.6 in Pega cloud.

  1. Connect file have option to append the data so that we can handle for multiple cases. Can we save connect-file output to Cloud Storage?

  2. I believe Connect-File can save the file in Pega Node folder. Do we have option to move the file from Pega Node folder to Pega Repo?

  3. Repository API’s to create file, do we have option to append to the existing file? I believe it will create file with base64 encoded. Do we have an option to create file without any encoded format.

Thanks,

Ravi KR

@RaviKumarR9055

you found any solutions to External file Drop?

@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