Question

I want to create sub-folders in pegacloud repository

Can you please help me in creating the folder on PegaCloudRepository. I have tried it creating using Data page "D_pxNewFolder" but it didn't worked.

I want to use the repository for document management.

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

July 8, 2019 - 4:45pm

Hi Kapil,

The create folder API is a savable data page, D_pxNewFolder. The API represents the new folder as a data page when the data page is loaded. To create a folder with this API, pass in the following parameters:

  • repositoryName- the name of the repository in which to create the file
  • folderPath- the path to the folder to be created relative to the root path of the repository

To create a folder, save the savable data page.

So when you tried this Data Page have you saved this Data Page?

Regards,

Vikash

July 9, 2019 - 10:16am
Response to Vikash Karn

Thanks Vikas,

Through Actions-->Run, i ran the data page and passed the paramters as "pegacloudfilestorage" and "/attachments/New Folder". But i cannot see the folder their while choosing repository in "Integration and Security" tab.

 

I didn't saved anything on the data page

July 28, 2019 - 12:21pm
Response to KapilG01

You need to save the savable data page.