webMethods and Intelligent Business Operations 10.2 | CentraSite Developer's Guide | Custom Reporting Searches | Writing Your Own Reporting Search
 
Writing Your Own Reporting Search
 
Writing XQuery Module and Functions
Uploading XQuery Module through CentraSite Control
Uploading XQuery Module through Command Line
Writing Saved Search XML
Uploading Custom Reporting Search through Command Line
Activating Custom Reporting Search through CentraSite Business UI
Deleting Custom Reporting Search through Command Line
CentraSite includes a set of predefined reporting searches that you can execute and capture design-time and/or run-time information of registry objects. In addition to the predefined reporting searches, you can create your own custom reporting search to execute and capture information on the registry objects that best suit your needs.
In CentraSite, you use queries in XQuery format to search and report for registry objects. You define custom queries and report your searches using XQuery modules and functions.
Reporting searches that are developed using XQuery modules and functions are applicable to CentraSite registry objects, such as reports and portlets in CentraSite Business UI.
In the following sections, we demonstrate a sample named, TopXAssetsBasedonAPIKeys that illustrates how a custom reporting search can be set up using the XQuery module and functions in CentraSite Business UI.
The sample extends to use the Add New Portlet dialog box which prompts for the data set you need to display in the new portlet. After confirming the data set, the corresponding search results are displayed in the newly created portlet Top X Assets Based on API Keys.
You may use this sample as a guideline, adapting it and renaming it to suit your individual requirements.
To add a custom reporting search in CentraSite Business UI, you must perform the following steps:
*Write XQuery Module
*Upload XQuery Module to CentraSite Registry Repository
*Write Saved Search XML
*Upload XML Search File from the Command Line
*Activate the Reporting Search

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release