Using Attachments Providers
About Attachments Providers
Using Composite Application Framework Data controls located in the Palette view, you can add attachment providers to your Web or portlet application. In the View Declaration Language (VDL) file for a view, use an Attachments List Panel control inside of a Form control. For more information about the Attachments List Panel and Form controls, see webMethods CAF Tag Library Reference.
In the Attachments List Panel control, you can use one of the following attachments providers:
Local Temporary Attachments Provider,
com.webmethods.caf.faces.data.attachments.LocalTempAttachmentsProvider, stores the attached files in a temporary folder in the
My webMethods Server file system, in a random folder located at
MWS/server/default/temp.
Portal Container Attachments Provider,
com.webmethods.caf.faces.data.attachments.PortalContainerAttachmentsProvider, stores the attached files in a
My webMethods Server specified folder. You must use a portlet application for the Portal Container Provider.
Temporary Attachments Provider,
com.webmethods.caf.faces.data.attachments.TempAttachmentsProvider, stores the attached files in a temporary container until the storage location is available in the application.
The attachments providers implement
IAttachmentsProvider. For more information about
IAttachmentsProvider, see
webMethods CAF and My webMethods Server Java API Reference. To use attachments providers in your
Composite Application Framework web or portlet application, see
Adding an Attachments Provider
Property and
Adding a Shared Managed Bean and Attachments
Provider Reference.