Skip to main content
Level 4
Jan 28, 2025 10:43 PM UTC
Solved

Why doesn't custom field group show in schema editor with field under it?.

I created a custom field group (arp) and added a field, "menuArr". What I don't understand is why doesn't the schema editor show the new field group as a node under "_Irf" Also the path for menuArr shows as "_irf.menuArr" I would have expected the path to be "_irf.arp.menuArr" The right rail does say it's assigned to the "arp" Field Group.

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Harveer_SinghGi1
Harveer_SinghGi1Accepted solution
Adobe Champion, Community Advisor, UG Leader
Jan 29, 2025 11:33 AM UTC

Hi @michaeljo13 ,

This is working as designed as the name of the field group is not added to the paths of the fields grouped under it. If there is a hierarchy that you'd want to see in the field paths in a field group you'd have the create that hierarchy using Object data type while creating the fields for your field group.

So, for creating field path as "_irf.arp.menuArr" within a field group name "arp" you'd need to follow below steps,

  • Create a custom field group named "arp"
  • Add a field to this field group with below settings,
    • Name: arp
    • Type: Object
  • After this step you should see field "_irf.arp" appearing in your schema. Click on + sign next to this field to add another custom field with below settings,
    • Name: menuArr
    • Type: String //or any other type of your choice

Once you complete these steps you should see the path hierarchy "_irf.arp.menuArr" that you are expecting. You can follow Add fields to a field group documentation for better understanding this process.

Cheers!

4 replies

brekrut
Adobe Employee
Adobe Employee
Jan 28, 2025 10:47 PM UTC

How did you create the new field group?  Was this via the API or UI?

 

Can you show the new field group you created?

Translate
Level 4
Jan 29, 2025 4:01 PM UTC

It was by the UI.

Translate
Harveer_SinghGi1
Adobe Champion, Community Advisor, UG Leader
Harveer_SinghGi1Adobe Champion, Community Advisor, UG LeaderAccepted solution
Adobe Champion, Community Advisor, UG Leader
Jan 29, 2025 11:33 AM UTC

Hi @michaeljo13 ,

This is working as designed as the name of the field group is not added to the paths of the fields grouped under it. If there is a hierarchy that you'd want to see in the field paths in a field group you'd have the create that hierarchy using Object data type while creating the fields for your field group.

So, for creating field path as "_irf.arp.menuArr" within a field group name "arp" you'd need to follow below steps,

  • Create a custom field group named "arp"
  • Add a field to this field group with below settings,
    • Name: arp
    • Type: Object
  • After this step you should see field "_irf.arp" appearing in your schema. Click on + sign next to this field to add another custom field with below settings,
    • Name: menuArr
    • Type: String //or any other type of your choice

Once you complete these steps you should see the path hierarchy "_irf.arp.menuArr" that you are expecting. You can follow Add fields to a field group documentation for better understanding this process.

Cheers!

Translate
Level 4
Jan 29, 2025 4:02 PM UTC

Thank you again! That is very helpful! Much appreciated.

Translate