Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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.

XDM.drawio.png

 

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 9

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,
    • NamemenuArr
    • 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!

View solution in original post

4 Replies

Avatar

Employee

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

 

Can you show the new field group you created?

Avatar

Level 4

It was by the UI.

Avatar

Correct answer by
Level 9

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,
    • NamemenuArr
    • 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!

Avatar

Level 4

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