Field Customization

Field Customization


To implement field customization we need to make our field(s) inherit from Field

Plex

For this example will use the Customer entity. We will add a password field OrderProcessing.Customer has FLD AppPassword.


After adding the field, define what type of field this is. In this example it will be a short description, length of 10, and implementation name AppPassword.


Generate Changes.

For the example Model we have an OrderProcessingbuildObjects list object. This list contains all the template generation functions for all the entities of the application.


After generating OrderProcessingbuildObjects list we need to generate the ApplicationServerObject list:


Eclipse

Now go to eclipse.

To import all the generated functions right click and refresh the java project:


Then run the Application Generator:


Once the application is running do the following:

  1. Click on Application Settings and then click on apply:

  2. Click on Application Template, select Gen Folder and Generate Application. Wait for the message that all was generated:

Now right click and refresh the web project:


Run tomcat server:


Test Changes


Plex Again

Now we are going to use the Hsync/Ability field.

Define the following inheritance that will define our new field with the properties of a field type password where the text will be masked with *:

AppPassword is a FLD Ability.Password.


Generate Changes.

For the test model generate the OrderProcessingbuildObjects list object which contains all the template generation functions for all the entities of the application:


After generating OrderProcessingbuildObjects list we need to generate the ApplicationServerObject list:


Eclipse Again

Now go to eclipse.

To import all the generated function right click and refresh the java project:


Then run the Application Generator:


When the application is running do the following:

  1. Click on Application Settings and then click on apply.

  2. Click on Application Template, select Gen Folder and Generate Application. Wait for the message that all was successfully generated.

Now right click and refresh the web project.


Run tomcat server:


Test Changes Again




    • Related Articles

    • How to Implement Rich Tooltip to an Edit Field

      Rich tooltip feature enables the user to see tooltips with images and formatted text on an edit field. This feature also enables the developer to specify the delay time after hovering before it displays the tooltip message. The information of the ...
    • How to Implement Rich Tooltip to a Grid Field

      Rich tooltip on a grid feature enables the user to see tooltips with images and formatted text on a grid cell upon hovering. This feature also enables the developer to specify the delay time after hovering before it displays the tooltip message. The ...
    • Download File From URL Control Template Manual

      The “DownloadFileFromURL.ctrl” template can be used to download files stored in your server, to implement this template follow these instructions: In Eclipse, copy the “DownloadFileFromURL.ctrl” file into your “Custom Templates” folder In Plex create ...
    • How to Display an Image in a Grid Cell

      1. Set the control name of the grid. 2. On the column name where you want to display the image, set the Text Property of the column heading as follows. <control name>:<grid control name>.ColumnsArea:template=WebImageGrid:<column heading text> ...
    • How to implement file viewer in WebClient using Office Web Viewer

      Reference https://www.microsoft.com/en-us/microsoft-365/blog/2013/04/10/office-web-viewer-view-office-documents-in-a-browser/ How to implement the FileViewer.ctrl The FileViewer.ctrl template is applied over an edit control in your Plex panel, at ...