Salesforce

Differences Between Magic xpa 3.3 and Magic xpa 4.5 (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Differences Between Magic xpa 3.3 and Magic xpa 4.5

Here are some prominent points by which Magic xpa 4.5 is different from Magic xpa 3.3:

Architectural Changes

Magic xpa 4.5 upgrade enhanced its architecture to provide 64-bit runtime engine in the background mode.

The 64-bit runtime engine supports 8-byte pointers hence while adding pointers to buffer, you need to take care of adjusting positions for the next members in the buffer.

New Functionality

The following new functionality is provided in xpa 4.5:

  • A utility is provided to verify the required npm and node.js Packages on your computer.

  • You can minimize and restore multiple modal windows in a single click once the special flag SpecialAllowMinimizeAllModals is set to Y.

  • You can disable all the existing database connections to the SQLite database once the special flag SpecialPostRequestDBDisconnect is set to Y.

  • You can change the program code while runtime engine is executing in the background.

  • Two events Subform Close and No Program Execution Right are introduced.

  • Two functions IsLoggedIn() and Logout() are introduced to support working in anonymous and authenticated sessions.

  • A function SimulateClick() is introduced to raise Magic events from Angular.

  • A property named ConfirmUpdateForWebClient is provided to control the default value for Confirm Update on Web Client tasks.

The following new functionality is provided in xpa 4.1:

  • Magic xpa 4.1 update works with Angular 7.

  • Support for editing a row is provided. A new internal event named Enter Row Editing is provided that enables you to start editing a table's row.

  • A new Magic function named IsRowEditing() is provided.

  • You can update the variables defined in Data View from Angular code.

  • A new function named DataViewToJSON() is introduced to return the data from program Data View to JSON format to be able to read it from Angular code.

  • You can edit the Date field using Input Type = Date. This is applicable for Native theme. The Date value accessor is added to support editing Date field, which is inspired by angular-date-value-accessor: https://www.npmjs.com/package/angular-date-value-accessor.

The following new functionality is provided in xpa 4.0:

  • Web Client Application Framework is introduced that enables web application development. Some more new features are:

  • A property named Custom Properties is introduced for all the controls that are supported in Web Client tasks.

  • A function SetTitle() is introduced to change the name of the Web Client form (or a Browser tab) dynamically.

  • Routing that enables a user to navigate within a Web application using Back and Forward buttons, and bookmarks.

  • Overlay Window, the window displayed at the top of all the open pages that needs to be closed to be able to access the pages below it.

  • Call operation with a new property named, Route Name.

  • Subform control with two new properties named, IsRouterOutlet and IsDefault Outlet.

  • An Internal event named Route is introduced, with two parameters Route Name and Outlet.

  • The following controls are supported in Web Client tasks:

o Push Button

o Check Box

o Combo Box

o List Box

o Edit

o Group

o Image

o Label

o Radio Button

o Subform

o Tab

o Table

Changed/Improved Functionality

  • In xpa 4.5, you can prevent session highjacking once the special flag SpecialClientGenerateAndValidateSessionID is set to Y. This flag is renamed as such from the previous flag SpecialRIAGenerateAndValidateSessionID.

  • In xpa 4.5, you can generate HTML code for the selected individual control, for the selected control with its child controls, and for the entire Web Client form.

  • In xpa 4.5, you can create independent Web Modules per folder for your Web Client applications which can be generated and loaded on demand.

  • In xpa 4.5, you can also avail the generated HTML code for future use. You can press the Copy button and the generated HTML code is copied to Windows clipboard without having you to mark the code before copying.

  • In xpa 4.5, Magic is giving proprietary licensing instead of FlexLM.

  • The following enhancements are added in Magic xpa 4.1:

In xpa 4.1, you can select a row by clicking anywhere on the desired row of a table.

  • In xpa 4.1, you get better clarity in console messages as xpa marks the errors to indicate that they are distinctively from Magic.

  • In xpa 4.1, an optional parameter named Refetch Record is now added to the Internal event Record Flush to control whether the event will re-fetch the record from the database.

In xpa 4.0, it is possible to add a Group control in any column of a table.

Removed Functionality

The following functionality is removed from Magic xpa 4.5:

1. Unsupported Gateways:

o AS400/Db400 gateway

o GS gateway

o Web Service gateway

2. Unsupported Runtime Features:

o MgComServer/MgComCreator

o DDE

o WMQ

3. Unsupported Events for Web Client tasks:

o Mouse Over

o Mouse Out

4. Unsupported Utility:

o FlexLM licensing is discontinued.

Mobile Changes

  • In xpa 4.5, Magic app now uses AndroidX for management of Android Support Library using Jetpacks.

  • Magic xpa 4.5, 4.1, and 4.0 do not support Windows 10 Mobile.

  • Magic xpa 4.5 Rich Client Applications now support minimum iOS 10.

Compatibility and Related Features

  • Magic xpa 4.5 Web Client is compatible to work with Chrome, Safari, Edge, and IE (9, 10, and 11 with some settings) browsers. Please see the topic Web Clients for more information.

New Special Flags

The following special flags are added into Magic xpa 4.5:

UI Enhancements

  • A dedicated menu option Web is brought to generate your Web Application.

  • Magic xpa 4.5 provides a sophisticated Web Application generation dialog that takes you through a step-by-step Web Application generation while keeping you informed at each stage. You can also view filtered logs of the generation process.

General Changes

  • Magic xpa Rich Client Applications now support minimum iOS 10.

Reference
Attachment 
Attachment