Adding a Custom Test Page

Developing a Custom Test Page

MDWorkbench Server does not provide a generic web page to test structure providers, as required parameters cannot be determined without knowledge of each specific structure provider.

You might contribute a specific Web page to test your structure provider. For that you need to add a Web page. This web page must define a web form to enter required parameters to query your structure provider. It will use a REST interface to request the structure provider.

Linking the Custom Test Page

Once the custom Web page is developed, you can update the related structure provider declaration to enable a direct link to this test page.

Here are the steps to link the custom test page:

  1. Edit the plug-in MANIFEST file of the plug-in that declares the structure provider.
  2. Select the Extensions tab, select the structure provider declaration and right-click New > testPage.
  3. Enter the relative URL of a Web page used to test the structure provider (e.g. /web/mycompany/mystructure).
  4. Save the MANIFEST file.

The MDWorkbench Server Structure integration page then shows a link to the custom test page when the corresponding structure provider is selected.

Related concepts
Structure

Related tasks
Adding Structure Providers
Adding Web Pages
Integrating Structure

Related reference
Structure Provider Extension Point