コミュニティアチーブメントバーを展開する。

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
解決済み

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

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

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!

元の投稿で解決策を見る

4 返信

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

正解者
Community Advisor

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.