Removing an existing Field Type

About this task

You can remove an existing Field Type to make it unavailable to a WebForms Designer user.

Procedure

  1. To remove an existing Field Type, do the following:
    • Access the Content Manager Explorer interface.
    • Find the Schema, Expand XSLT Template Building Block and Render XSLT Template Building Block for the Field Type you intend to delete. For each, find out the Content Manager URI for the item (either by hovering over the item and reading the tooltip, or by opening the item and checking the Info tab.
    • Find and open the Form Schema that you use.
    • In the dialog that opens, select the Source tab and in that tab, search for the Content Manager URI of the Field Type Schema. Remove the tag that contains this URI, and save and close the Form Schema.
    • Similarly, remove the reference to the Expand XSLT Template Building Block of the Field Type from the overall Expand XSLT Template Building Block for the Form, and remove the reference to the Render XSLT Template Building Block from the Form Component Template
  2. Alternatively, if you are using a consolidated form, you can also remove an existing Field Type from a consolidated form as follows:
    • Open the WebForms Field Type Editor and select the Form Schema that uses the Field Type you want to remove. For more information, refer to WebForms Field Type Editor reference.

    • From the tree view, double-click on the Field Type you want to modify. A tab page opens which displays the Field Type Schema and the Render XSLT and Expand XSLT Template Building Block associated with this Field Type.
    • Remove the Schema fragment that represents your Field Type. Also remove the fragments that handle the extending and rendering of your Field Type from the Expand XSLT and Render XSLT, respectively.
    • Select File > Save to save your changes.
    • Now access the Content Manager Explorer interface.
    • Find and open the consolidated Form Schema that you use.
    • In the dialog that opens, select the Source tab and in that tab, click Validate under the source code. A validation error appears, pointing you to the location where the consolidated Form Schema refers to the now removed Field Type.
    • Remove the reference and save and close your consolidated Form Schema.

Results

Your Field Type, as well as all references to it, have now been removed.