Designer 10.5 | webMethods CAF and OpenUI Development | Working with JCR Providers | Creating a Search Result Table Provider
 
Creating a Search Result Table Provider
The JCR Client Attachments Provider enables you to access and search for items within a JCR. You can also open, delete, or modify the files obtained by the search results.
You must enable the JCR client for your CAF 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 Search Results Table 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.
Table
A Table is added to the user interface that includes default columns of Path, Name, and ID.
Query language
The default provider query language is xpath. You can use either xpath or SQL.
Query string
The default provider query string includes all children within the parent, for example, all files within a folder.
*To use the Search Result Table Provider
1. In the MWS Admin view or Palette view, drag a folder onto the design canvas.
2. In the Drop Candidates dialog box, click Create Content Provider, and then click OK.
3. In the Java Type dialog box, click Search Result Table Provider, and then click Finish.
On the Palette view, drag the CAF Html > Control > Input > Filter Input control onto the design canvas, and then, if the control is outside of the table, point the control to the table. Completing this step provides type-ahead filtering of the results table.
Related Topics