Hi Team,
I am able to update duplicate field groups via below API
https://platform.adobe.io/data/foundation/schemaregistry/tenant/schemas/:SCHEMA_ID
It seems this is defect - we unable to add same field groups via UI
Regards
Indra
Solved! Go to Solution.
Views
Replies
Total Likes
SCHEMA ID :_adobequaptrsd.schemas.7567f6029e5ee4a77faf20dea2718677d7448af37a7XXXXXX
Successfully updated.
Request:
Views
Replies
Total Likes
Hello @Indra
could you provide a little more context on what the expected outcome you are looking for here? Why are you wanting duplicate field groups in the schema?
David
api should not allow us to add duplicate field groups . But when I hit the api in postman two times, I see the duplicates field group added in UI . second time it should give me error.
@Indra ok I understand now. It should be erroring out due to same field group id, name, etc. One thing I notice is that you are using an OOTB field group, to which i’m not entirely sure if that could be of any reason why. It may be worth logging a ticket with Adobe support referencing your sandbox and the specific issue.
@brekrut @abhinavbalooni Can you check if the solution is right?
Views
Replies
Total Likes
Hello @Indra
I have reviewed the case you have provided. It appears you have performed a patch command with the operation of add twice into a schema. Your patch operation of add was to add in the XDM reference of profile-person-details.
Can you please provide the results of the full schema view of the schema created using the header value of accept:application/vnd.adobe.xed-full+json; version=1.
I would like to see how the objects have been created.
SCHEMA ID :_adobequaptrsd.schemas.7567f6029e5ee4a77faf20dea2718677d7448af37a7XXXXXX
Successfully updated.
Request:
Thank you for your reply.
I can see in your response there is a reference to the same mixin/field group twice in the same schema. I can look into this being an enhancement request, but the same field group could be used in multiple location within a single schema.
I would advise when creating schemas via an API to ensure your references are used as expected and double check them using the UI before marking them for profile.
@Indra Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies