Consultor Eletrônico



Kbase P102556: How to add custom Structured Procedure and custom Structured Include Files to the AppBuilder New Obj
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/03/2005
Status: Unverified

GOAL:

How to add custom Structured Procedure and custom Structured Include Files to the AppBuilder New Object Dialog List?

FACT(s) (Environment):

Windows

FIX:

To add a custom Structured Procedure to the AppBuilder New Object Dialog List:
1. Edit DLC\src\Template\shared.cst to add an entry for the Structured Procedure or Structured Include file to be added:
2. Create and save the the template for the new custom Structured Procedure or custom Structured Include to be added in the DLC\src\Template directory.
The following walkthrough demonstrates adding the new Structured Procedure 'myStructured Procedure' to the AppBuilder New Object Dialog List:
1. Backup the DLC\src\Template\shared.cst file.
2. Edit the DLC\src\Template\shared.cst file to insert the following two lines describing the new object:
*NEW-PROCEDURE MyStructured &Procedure
NEW-TEMPLATE src/template/Myprocedur.p
3. Using the AppBuilder create a new Structured Procedure, customize it and save it as DLC\src\Template\MyProcedure.p.
4. Close the AppBuilder to end the session that started using the old shared.cst.
5. Open the AppBuilder again.
6. Select File -> New
7. Observe that the new item "MyStructured Procedure" appears in the New Object Dialog List.