Skip to content

ALTER PAGE SET only works on DynamicText/Content — fails for other widget properties #414

@retran

Description

@retran

Description

ALTER PAGE with SET <property> = <value> ON <widget> only works for DynamicText's Content property. It fails with "property not found" for:

  • ActionButton Caption
  • TextBox Placeholder
  • Other common widget properties

Reproduction

-- This works:
ALTER PAGE MyModule.MyPage {
  SET Content = '{1}' ON dynText1
};

-- This fails ("property not found"):
ALTER PAGE MyModule.MyPage {
  SET Caption = 'Save' ON btnSave
};

-- This also fails:
ALTER PAGE MyModule.MyPage {
  SET Placeholder = 'Search...' ON txtSearch
};

Expected

SET should work on any widget property that is settable (Caption, Placeholder, Label, etc.).

Actual

Only DynamicText/Content combination works. All other widget/property combinations return "property not found".

Environment

  • mxcli: v0.7.0-257-ga07e7e0
  • Project: EnquiriesManagement (Mendix 11.8.0)

Impact

ALTER PAGE SET is largely non-functional for common use cases (changing button text, input placeholders, labels).

Related

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