|
|
• Using the Microsoft .NET client assembly, create a RepositoryServiceService object by invoking its default constructor. Set its Credentials property using a System.Net.NetworkCredential object that contains the user name and password.Create the folder by using the default constructor for the ResourceCollection class and pass in the following parameters:
• An Id object, which is created by invoking the default constructor for the Id class and assigned to the Resource object’s id field.
• An Lid object, which is created by invoking the default constructor for the Lid class and assigned to the Resource object’s lid field.
• A string containing the name of the resource collection, which is assigned to the Resource object’s name field. The name used in this example is "testfolder".
• A string containing the description of the resource collection, which is assigned to the Resource object’s description field. The description used in this example is "test folder".Invoke the RepositoryServiceService object’s writeResource method and pass in the following parameters:
• The ResourceCollection object representing the folder.
• Pass null for the other two parameters.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/repositoryCreatingFolders.120.4.html