Salesforce

Command Line Upgrade (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Command Line Upgrade

You can run the Magic xpa upgrade process via the command line, outside of the Magic xpa Studio. This is useful, for instance, when you have lots of components and you want to upgrade them several times for testing purposes. Instead of needing to open each component one after the other, you can write a batch file to perform the upgrade.

The upgrade process is for uniPaaS V1.x projects. No upgrade is required for 2.x or 3.0 projects.

For eDeveloper V9.4 or earlier projects, you first need to upgrade your project to a uniPaaS V1.x project. For additional information, see: Upgrading from eDeveloper V9.4 to Magic xpa 3.x.

To run the upgrade process from the command line, start the Studio with /UpProject = your uniPaaS project. For example: MgxpaStudio.exe /UpProject=c:\uniPaaS\myproj\myproj.edp

All of the upgrade settings have the same default value as when using the Upgrade Wizard in the Magic xpa Studio. You can override the upgrade settings using the command line options detailed in the table below.

When the upgrade process is executed using the command line, it will not back up the original project.

The MgxpaStudio.exe file supports the following command line options:

/UpProject = Filename

The path and name of the uniPaaS project (.edp) to be updated.

/UpLabelToColumn = Y/N (default=Y)

Converts labels on the column title into the column title value.

/UpEditExpToColumn = Y/N (default=Y)

Converts Edit controls with an expression on the column title into column title expressions.

/UpCreateTableTitle = Y/N (default=N)

Creates a table title for tables that do not have a title and have controls above the table area.

/UpSetDisplayName = Y/N (default=Y)

Sets the Display Name property value according to the column’s title.

/UpCreateColors = Y/N (default=Y)

Creates new colors to maintain the original appearance.

/UpCreateFonts = Y/N (default=Y)

Creates new fonts to maintain the original appearance.

/UpCreateRTFMenu = Y/N (default=Y)

Creates a context menu for RTF controls and assigns it to the RTF controls.

/UpInternalOK = Y/N (default=Y)

Creates an OK user event and uses it instead of the internal OK event.

/UpAddEUF = Y/N (default=*)

Adds a reference to the End User Functionality (EUF) component.

* If the End User Functionality component is already defined in the project, the default will be N. Otherwise, it will be Y.

Since version: 3.2

Reference
Attachment 
Attachment