AppControl Docs
  • Introduction
  • Overview
    • Features
    • Product architecture
      • AppControl Repository
      • Policy Checks
    • Initial set up
      • AppControl User
      • Install package
      • Configure system
      • Add apps
      • Add users
      • Give permissions
    • User Roles & Access
    • Getting Started
      • Platform Administrator
      • App Owner
      • App Administrator
      • Developer
  • Dashboards
    • Platform
    • Alerts
    • App
      • Log Rule
    • Policies
      • Compare Revisions
    • Releases
      • Create Release
    • Tasks
      • Task Assignment
      • Task Details
    • Insights
      • Components
      • Reports
      • Users
      • Logs
  • Administration
    • Policies
    • Pipelines
      • Approval
      • Backup
      • Build
      • Call API
      • Check Policy
      • Deploy
      • Deploy Configuration
      • Notification
      • Start / Stop
    • Tasks
    • App Groups
    • Access Groups
    • System
      • Accounts
      • Notifications
      • System Status
      • System Logs & Tools
      • System Configuration
      • Repository
        • Log Solution
      • Product License
      • Management API
      • Mendix Configuration
    • Feedback
  • Checks
    • APIs
      • Published APIs must use authentication
    • App
      • Project security level
      • Project security enabled
      • Demo users enabled
      • Anonymous users enabled
      • Strong password policy
      • Default admin username changed
      • Anonymous user access restricted
      • Default admin user restricted
      • Use strong hash algorithm
      • Check user role security for consistency
      • Restrict users to a single session
      • Perform strict page URL checks
      • Project naming standards
    • Components
      • Components with vulnerabilities
      • Mendix runtime version age
      • Mendix runtime support status
      • Non platform supported components
      • Max component age
      • Average age components
      • Use latest version of Marketplace module
      • Use latest version of Marketplace widget
      • Use latest version of Mendix
      • Limit number of Java libraries
      • Limit number of widgets
      • Use minimum Mendix runtime version
    • Constants
      • Do not expose constants to client
    • Development
      • Last commit to production
      • Last commit to project
      • Project documentation standards
      • Project organization standards
      • Project logging standards
    • Domain Model
      • Default member access rights restricted
      • Use read only attributes in XPath constraints
      • Anonymous users can only change own data
      • Anonymous users cannot change unlimited length strings
      • Domain model standards
      • Anonymous user access restricted
      • Naming standards - Domain Model
      • Documentation standards - Domain Model
    • Enumerations
      • Naming Standards - Enumerations
    • Microflows
      • Incorrect date format
      • Incorrect empty string check
      • Empty variable used
      • Apply entity access when generating documents
      • Use inherited entities from System module
      • Web service calls with templates should be escaped
      • Naming Standards - Microflows
      • Logging Standards - Microflows
      • Documentation Standards - Microflows
    • Pages
      • Attributes in data views should be editable
      • Naming Standards - Page Flows
      • Documentation Standards - Pages
  • Support
    • Docs
    • Feedback
    • Tickets
    • Releases
    • System Status
    • User Details
Powered by GitBook
On this page
  • Domain Model
  • Event Handlers
  1. Checks
  2. Domain Model

Naming standards - Domain Model

Check ID
DOM_0007

Category

Standards

Summary

This check will compare the name of your domain model elements to the naming standards you set. By default the Mendix Best Practices for Developers are used.

Options

This is a complex check that has many different options. See the tables below for all available options. In all cases where a name format is specified the following configuration options apply: - Use a regex in the format supported by the Mendix isMatch() string function. - In some cases (described in the table below) additional variables may be used such as %UserRole%, %EntityName%, %AttributeName%, etc. - In all cases where a regex is used as an option, if you leave it empty the check will be ignored.

Pass

The name of the element matches your standard.

Fail

The name of the element does not match your standard.

Domain Model

Option Name
Details

Association Names

If TRUE, associations should contain the name of the associated entities. Default: TRUE.

Attribute Names

If TRUE, attributes names should not start with their entity name. Default: TRUE.

Calculated Attribute Microflow

Regex to match calculated attribute names. The variables %EntityName% and %AttributeName% may be used. Default: CAL_%EntityName%_%AttributeName%

Entity Names

If TRUE, entity names should be unique across the project. Default: TRUE.

Event Handlers

Option Name
Details

Before Commit

Regex to match the event handler. The variable %EntityName% may be used. Default: BCO_%EntityName%

After Commit

Regex to match the event handler. The variable %EntityName% may be used. Default: ACO_%EntityName%

Before Create

Regex to match the event handler. The variable %EntityName% may be used. Default: BCR_%EntityName%

After Create

Regex to match the event handler. The variable %EntityName% may be used. Default: ACR_%EntityName%

Before Delete

Regex to match the event handler. The variable %EntityName% may be used. Default: BDE_%EntityName%

After Delete

Regex to match the event handler. The variable %EntityName% may be used. Default: ADE_%EntityName%

Before Rollback

Regex to match the event handler. The variable %EntityName% may be used. Default: BRO_%EntityName%

After Rollback

Regex to match the event handler. The variable %EntityName% may be used. Default: ARO_%EntityName%

PreviousAnonymous user access restrictedNextDocumentation standards - Domain Model

Last updated 7 months ago