Creating and inserting a $xxxInheritableSchema subform

After you create a form to define a new structural object class, create an associated $xxxInheritableSchema subform and insert it into the form. The $xxxInheritableSchema subform defines the attributes for the structural object class.

Before you begin

Make sure that you are working in a copy of the IBM® Domino® Directory template (for example RENOVATIONSNAMES.NTF) and that you have Designer or Manager access in the ACL.

Procedure

  1. From IBM Domino Designer, open RENOVATIONSNAMES.NTF.
  2. Do the following to copy the contents of the $countryInheritableSchema subform into a new subform:
    Important: Do not select the $countryInheritableSchema subform and use copy and paste to copy it.
    1. In the navigation pane, select Shared Elements and then Subforms.
    2. Open the $countryInheritableSchema subform, choose Edit > Select All, then Edit > Copy.
    3. Close the $countryInheritableSchema subform.
    4. With Subforms still selected, right-click New Subform. For the form name, type $xxxInheritableSchema, where xxx is the name of the new structural object class created previously, for example, $renovationsPrinterInheritableSchema. Click OK.
    5. Choose Edit > Paste.
  3. Do the following to specify the properties for the new subform:
    1. With the new subform open, choose Design > Subform Properties.
    2. Deselect the Options property Render pass through HTML in Notes.
    3. Leave the other properties the same, and close the Subform Properties box.
  4. On the Mandatory tab, do the following:
    1. Delete the field OfficeCountry and its label. Do not delete the $dspType field and label.
    2. Choose Create > Field.
    3. Next to the Name property, specify FullName.
    4. Next to the Type property, select Names.
    5. Close the Field box.
    6. Select Input Validation in the Object pane, and enter the following formula:
      @V2If(FullName = ""; @Failure("FullName is required"); @Success)
  5. Optional: On the Optional tab, delete the searchGuide field and its label, and optionally delete the comment field and its label.
  6. Leave the Operational tab as is.
  7. Define the mandatory and optional attributes for the new structural object class in the new InheritableSchema subform.
  8. Do the following to remove the $countryExtensibleSchema subform from the new InheritableSchema subform:
    1. On the Extensible tab of the new InheritableSchema subform, place the cursor the equivalent of one line down to select the $countryExtensibleSchema subform.
    2. Verify that the $countryExtensibleSchema subform is selected. Click Edit > Delete to remove the $countryExtensibleSchema subformfrom the new InheritableSchema subform.
  9. Save and close the new InheritableSchema subform.
  10. Do the following to insert the new InheritableSchema subform into the form created to define the structural object class:
    1. From Domino Designer, open RENOVATIONSNAMES.NTF.
    2. In the navigation pane, select Forms and open the form you created previously -- for example, renovationsPrinter.
    3. Position the cursor between the form name and the Type, Owner, LocalAdmin, and DocumentAccess fields.
    4. Choose Create > Resource > Insert Subform, select the InheritableSchema subform you created -- for example $renovationsPrinterInheritableSchema -- and click OK.
  11. Save and close the form.

What to do next

Complete the procedure Creating and inserting an $xxxExtensibleSchema subform.