Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : 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.
When you create the Attachments Provider, Composite Application Framework performs the following:
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.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback