Skip to content

[Feature] Support CREATE PAGE with parameters in Mendix 10 projects #294

@Chendodelangen

Description

@Chendodelangen

Summary

CREATE PAGE with a Params block is rejected in Mendix 10 projects with the message "CREATE PAGE with parameters requires Mendix 11.0.0+". Mendix 10 fully supports page parameters natively in Studio Pro — this is a mxcli tool limitation, not a platform limitation.

Environment

  • mxcli version: current
  • Mendix version: 10.24.15

Steps to Reproduce

CREATE PAGE Mod.MyPopup (
  Title: 'Detail',
  Layout: Atlas_Core.PopupLayout,
  Folder: 'Pages',
  Params: { $Asset: Mod.Asset }
) {
  DATAVIEW dv1 (DataSource: $Asset) {
    TEXTBOX txt1 (Label: 'Name', Attribute: Name)
  }
}

Result:

Error: CREATE PAGE with parameters requires Mendix 11.0.0+ (project is 10.24.15.93102)
  hint: pass data via a non-persistent entity or microflow parameter instead

Expected Behaviour

The page is created with the specified parameter. Mendix 10.24 supports page parameters in Studio Pro — pages with parameters created in Studio Pro open and function correctly in the same project version.

Impact

Any new popup or detail page that needs to receive an object must be created manually in Studio Pro. This is one of the most common page patterns in Mendix development and breaks the AI-assisted / scripted workflow for an everyday use case.

The suggested workaround (non-persistent entity) requires significant extra domain model overhead for what is normally a one-line page parameter declaration.

Request

Support CREATE PAGE ... (Params: { $Param: Module.Entity }) for Mendix 10 projects, consistent with what Studio Pro already allows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions