Schema creation using AEPP package
Hello All
I am new to AEP world. Anyone created schema using AEPP package? If yes, could you please share the sample code snippets?
Thanks in Advance.
Regards
Sheejo Rapheal
Hello All
I am new to AEP world. Anyone created schema using AEPP package? If yes, could you please share the sample code snippets?
Thanks in Advance.
Regards
Sheejo Rapheal
@sheejo what are type of schema are you creating?
I have not used it yet, but looking at the docs here's what you could try
1.) Experience Event Schema
createExperienceEventSchema(
name="webEventSchema",
mixinIds:[<list of your field group id required for the schema>],
description = "schema description <optional>",
)
2.) Profile Event Schema
createProfileSchema(
name="crmProfileSchema",
mixinIds:[<list of your field group id required for the schema>],
description = "schema description <optional>",
)
* you could get a list of field group for a sandbox and filter to get mixinId that you require for creating the schema.
//returns the fieldGroups of the account.
getFieldGroups()
Refer to this video which shows actual working demo
https://youtu.be/EBfTanow76w?t=1261
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.