Subject schema not showing up as dropdown in Attributes panel | Community
Skip to main content
Level 2
October 27, 2025
Question

Subject schema not showing up as dropdown in Attributes panel

  • October 27, 2025
  • 3 replies
  • 246 views

I have created a subject schema; here is the sample code: 

 

<subjectScheme>
<title>Subject Schema Definition</title>

<!-- 1) Permissions (for prolog@view) -->
<subjectdef keys="permissions">
<subjectdef keys="perm_internalonly">
<topicmeta>
<navtitle>InternalOnly</navtitle>
<shortdesc>Only visible to internal staff</shortdesc>
</topicmeta>
</subjectdef>
<subjectdef keys="perm_lix_experiment">
<topicmeta>
<navtitle>LIX_experiment</navtitle>
<shortdesc>Experimental LIX audience</shortdesc>
</topicmeta>
</subjectdef>
<subjectdef keys="perm_lix_control">
<topicmeta>
<navtitle>LIX_control</navtitle>
<shortdesc>Control group for LIX experiments</shortdesc>
</topicmeta>
</subjectdef>
</subjectdef>
<enumerationdef><!-- bind to prolog@view -->
<elementdef name="prolog">
</elementdef>
<attributedef name="view">
</attributedef>
<!-- point to the subject group defined above -->
<subjectdef keyref="permissions">
</subjectdef>
</enumerationdef>

<!-- 2) Platform (for metadata@platform) -->
<subjectdef keys="platforms">
<subjectdef keys="platform_mobile">
<topicmeta>
<navtitle>Mobile</navtitle>
<shortdesc>Mobile platforms</shortdesc>
</topicmeta>
</subjectdef>
<subjectdef keys="platform_desktop">
<topicmeta>
<navtitle>Desktop</navtitle>
<shortdesc>Desktop platforms</shortdesc>
</topicmeta>
</subjectdef>
<subjectdef keys="platform_web">
<topicmeta>
<navtitle>Web</navtitle>
<shortdesc>Web platform</shortdesc>
</topicmeta>
</subjectdef>
</subjectdef>
<enumerationdef>
<elementdef name="metadata">
</elementdef>
<attributedef name="platform">
</attributedef>
<subjectdef keyref="platforms">
</subjectdef>
</subjectScheme>

 

The subject schema shows up in the Subject Schema panel in AEM Guides Web Editor. And these can be applied using drag-and-drop functionality. I do not get any errors when the subject schema is applied and saved. However, the values of the attributes are not getting bound by the subject schema. In other words, the values of the attributes in the Attributes panel are not showing up as drop-down values. 

 

Any input on how I can get the values of the attributes defiined in the subject schema show up as drop-down in the Attributes Panel? 

@divrajsingh or anyone on group, your guidance is much appreicated. 

 

I am testing this with latest AEM cloud SDK package. 

 

 

3 replies

Level 2
October 27, 2025

Sorry missed mentioning this detail in the post: The Platform attribute is bound by the values defined in the subject schema; I do get a dropdown for the Platform attribute in the Attributes panel. However, the same is not happening for view attribute for permissions elment.  

Level 2
October 28, 2025

The issue is resolved. 

DivrajSingh
Adobe Employee
Adobe Employee
October 29, 2025

@aravindanand : the General tab on Workspace settings has toggles to enable validation based on attributes of subject scheme or general condition attributes - you can enable those to let users use them as needed.

The usage is also described in the documentation - refer this page

I hope this helps.