Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Create Directory

Avatar

Level 4

Hi,

I wanted to create a folder structure into livecycle server using my dotnet code through proxy classes. I was able to create fies using the writeResource of repository services. I could not find any such method to create a directory. Can some one guide me on how to get this folder created.

Are there any other proxy classes which needs to be created for this.

Regards,

Shiva...

2 Replies

Avatar

Level 7

wriyteResource method is used to create both directory as well file. There is a property in this method which is need to be defined either directory or file.

regards

Sunil

Avatar

Level 1

a 'folder' in the Repository is a Resource object. more precisely, it is a com.adobe.repository.infomodel.bean.ResourceCollection object.


Have you seen the C# example at  http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000177.html ?