Designer 10.5 | webMethods CAF and OpenUI Development | Working with JCR Providers | Creating a JCR Client Attachments Provider
 
Creating a JCR Client Attachments Provider
The JCR Client Attachments Provider enables you to create a folder in My webMethods Server, or other JCR, that you can use to open, add, delete, or modify files.
You must enable the JCR client for your Composite Application Framework application before you can use a JCR provider. For more information, see Enabling the JCR Client for a CAF Application.
The following table lists the components of a Attachments Provider and the actions that the Composite Application Framework performs when you add a provider:
Component
Description
New provider
A new provider is added to the Bindings view and configured to work with the repository manager in the current session.
Auto Save
The Auto Save setting for the provider is set to true, which automatically saves changes.
Parent ID
When you drag a folder from the My webMethods Server view, the Parent ID is set to the My webMethods Server folder that is used. If you drag a folder from the Palette view, you need to set this property manually.
Attachments List control
An Attachments List control is added to the user interface.
Attachments List control Drag and Drop Available property
The Attachments List control Drag and Drop Available property is set to true, which enables a user to add an attachment by dragging it onto the user interface.
Attachments List control Use WebDav Urls property
The Attachments List control Use WebDav Urls property is set to true.
*To use the Attachments Provider
1. In the UI Development Perspective, click the MWS Admin view or Palette view, and then drag a folder to the design canvas.
2. In Drop Candidates, click Create Content Provider, and then click OK.
3. In Java Type, click Attachments Provider, and then click Finish.
Related Topics