App Extensions Framework

Neptune Apps can be extended, allowing for the creation of new Apps to build upon an existing base App. Whenever updates are made to the base App, all the extensions associated with it will automatically inherit the new changes.

Procedure

Creating an Extension App

Firstly you must choose your Base Application. This can be any Neptune Application. In the example below: DEMO01

app extension framework 1

Now, create the Extension Application. Set it as Extension Application and set a Base Application in the Settings section. Click Load button.

In the example below, Extension Application DEMO02 is using DEMO01 as Base Application.

app extension framework 2

Working on the Extension App

Initially, the Extension Application (DEMO02) will have an identical structure to its Base Application (DEMO01). The entire object tree will appear disabled, displayed in gray color, even in change mode. Drag and drop functionality will not be available.

To modify an object, a right-click action must be performed on it. This action will open a context menu displaying the options ExtensionAdd/Change/Delete.

Adding a new Extension

In the example below, a new Extension is added to oPage1 object.

app extension framework 3

Inside the Extension object, drag-and-drop will work as usual, and all objects can be modified.

The new Extension contains a Subheader with a Button inside.

app extension framework 4

In this example, if DEMO01 is activated, a Page without a Subheader will be displayed. If DEMO02 is activated, a Page with a Subheader (and a button inside) will be displayed.

Whenever the Base Application DEMO01 is updated, DEMO02 will automatically get the changes.

Changing an Extension

app extension framework 5

Objects that have been changed, will be displayed in blue in the Object tree.

app extension framework 8

Changes can be easily Undone by clicking the Undo option

Deleting an Extension

Objects which are part of the Base Application can be deleted from the Extension Application.

app extension framework 6

These objects will still be kept in the Base Application and will be displayed in red in the Extension Application.

app extension framework 7