Thank you for being a valued client of CM First Group. If you have any technical issues or concerns, please open a ticket on support.cmfirstgroup.com, email CM First technical support at support@cmfirstgroup.com or call us on our 24/7 customer hotline at +1 (512) 623-7586.

Follow

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:

back to top

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:

back to top

Test Changes

back to top

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:

back to top

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:

back to top

Test Changes Again

back to top

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk