Deploying a Framework Version

Visual LANSA Framework

Deploying a Framework Version

Once the development/testing cycle has finished and it is time to ship the executable version you will have a single Framework definition.

Let’s assume the final Framework definition XML file is Ship.xml. This is the only Framework that the end-users will execute.

Because end-users must not have a choice of Frameworks, you must create your own versions of the available entry point forms. However, it is not recommended that you create development or design entry points for your Framework. Simply use the shipped ones and use the 'Save As' option to create different frameworks. Then only create administrator and user entry points as required for production users, locking them into a specific XML file and never allowing the end-user a framework XML file choice.

1.

Create the required customized entry point forms to your Framework. These might be named, say, SHIPADM and SHIPUSR.

2.

In the uInitializeFramework routine of all the forms change this line to disable the SaveAs functionality:

Set Com(#Com_Owner) Usystemxmlfile('vf_sy001_system.xml') Usystemxmlchoice('vf_sy001_system_choice') Usystemxmlsaveas(TRUE)

To:

Set Com(#Com_Owner) Usystemxmlfile('ship.xml') Usystemxmlsaveas(FALSE)

 

3.

Compile SHIPADM and SHIPUSR.

 

4.

You now have a completely independent Framework (named SHIP). It is designed by executing form UF_DESGN, administered by executing SHIPADM and you execute applications via SHIPUSR.

 

Naming Space Considerations for Managing Different Frameworks

Refer to Visual LANSA Framework Deployment Check Lists for detailed information on how to deploy your application.