how do I link the attributes from y entities to the galleries on my pages?

0
I have created entities with attributes, these entities are already linked ot my galleries but for some reason when I try to select an attribute for a value these attributes don't show up
asked
2 answers
1

hi,


If attributes are not showing in the Gallery, it is always due to context or security, as per Mendix page modeling rules.

1. Verify Gallery Data Source

Open the Gallery → check Data source entity.

Only attributes of that exact entity will be available inside the Gallery template.

If your attributes belong to another entity, they will not appear.

2. Association Required (If Different Entity)

If the attribute belongs to a related entity:

Correct way:

  • Add a Data View inside the Gallery
  • Set Data View data source to Association
  • Then bind attributes from that associated entity

Mendix does not allow cross-entity binding without proper context.

3. Check Attribute Access (Security)

If security is Production:

  • Go to Entity → Access Rules
  • Ensure the user role has Read access to the attributes
  • If no read access, attributes will not appear in property dropdown.

4. Confirm Attribute Type

If you are trying to bind inside a specific widget (e.g., Image, Date Picker, etc.),

the attribute type must match the widget type.

Attributes will only appear if:

  • They belong to the Gallery’s context entity
  • OR
  • You properly navigate through an association
  • AND
  • The user has read access

Fix the context and security, and it will work correctly.


answered
0

The Gallery widget is divided into two sections:


  • The upper section is used for action and filter widgets.
  • The lower section is used for attribute selection and content display.


After connecting the Gallery’s data source to an entity, you can add a Text Box (or other display widget) inside the Gallery and then select the desired attribute from the properties panel.


If this resolves the issue, please close the topic.


answered