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

Key Data Restriction

Plex

This requirement is for the ability to restrict children records by parent for implementation on drill-down navigation.

For this example we will use the entity OrderProcessing.Order to inherit from DrillDownParent:

OrderProcessing.Order is a ENT Ability.DrillDownParent.

Now we dfined the inheritance for the DrillDown ability on the Child that is Order Detail:

OrderProcessing.OrderDetail is a ENT Ability.DrillDownChild.

Generate Changes.

On the test Model there is a offline tablette build list that contains all the template generation functions for all the entities of the application. Generate it:

After generating the offline tablette build list, the generate Gestion Tablette Offline Server 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:

When the application is up and running:

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

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

Now right click and refresh the web project:

Run tomcat server:

back to top

Test Changes

From the menu select 'Order', select a row, then from the form press the Order Detail button. The Order Details select a row should be restricted by Order number.

back to top

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

Comments

Powered by Zendesk