2017 June Release

Extending existing desk forms, forms and form pagesPermanent link for this heading

Fabasoft app.ducx allows you to extend existing forms with new form pages as well as to add properties to existing desk forms and form pages belonging to other software components.

Cloud profile note: The extension of desk forms, forms and form pages that belong to another non-friend software component is discouraged.

Extending an existing desk formPermanent link for this heading

Syntax

extend deskform reference {
  dataset {
    property;
    ...
  }
}


With the extend deskform keywords, you can add properties to a desk form that is part of another software component.

Extending an existing formPermanent link for this heading

Syntax

extend form reference {
  // New form pages can be defined inline
  formpage reference {
    audience = audience;
    dataset {
      property;
      ...
    }
  }
  // Existing form pages can be reused
  reference;
}


A form of another software component may be extended with form pages belonging to your software component.

To extend a form that is part of another software component, you can use the extend form keywords followed by the reference of the form you want to extend, and curly braces. You may either define new form pages inside the extension block or reference existing form pages of your software component.

New form pages added in an extension block are appended to the form after the existing form pages.

Example

userinterface APPDUCXSAMPLE@200.200
{
  import COOSYSTEM@1.1;
  import FSCFOLIOGUI@1.1001;

  // Extend form FSCFOLIOGUI@1.1001:FormPersonUV with a new form page
  //
APPDUCXSAMPLE@200.200:PagePersonOrders
  extend form FormPersonUV {
    formpage PagePersonOrders {
      audience = enduser;
      symbol = SymbolOrder;
      dataset {
        customerorders;
      }
    }
  }
}

Extending an existing form pagePermanent link for this heading

Syntax

extend formpage reference {
  dataset {
    property;
    ...
  }
}


With the extend formpage keywords, you can add properties to a form page that is part of another software component.

Note: Properties added to a form page must also be part of the corresponding object class in order to be displayed on the form page.

Example

userinterface APPDUCXSAMPLE@200.200
{
  import COOSYSTEM@1.1;
  import FSCFOLIOGUI@1.1001;

  // Extend form page FSCFOLIOGUI@1.1001:PagePerson with a new
  // property
APPDUCXSAMPLE@200.200:customertype
  extend formpage PagePerson {
    dataset {
      customertype;
    }
  }
}