Posts

Showing posts with the label Adobe Experience Platform AEP Dataset Schema

A Required field is NOT Required in some cases in AEP

Image
 We mark a field as "Required" while defining the XDM schemas. Obviously if you mark a field as required, you need to pass the value of the corresponding field while loading data into the dataset created from the schema. But there are some cases where you can load data even without supplying values for those fields. Let's get into the details. Here the fields marked with pink are the fields marked as required. Here one field of type object called "node_filed_rf" (RF is Required Field and ignore the spellig ) is marked as required whereas the other similar object "node_filed_nrf" is not required. Both of them has a Required Field. We created a DataSet from the schema with the same name as the schema. Here is the sample data that is loaded into the Dataset with error threshold as 80% as we expect many of the rows will not be accepted. Test JSON Data Success Comment {"_id":" all_fields_exist ","_abccominc":{"node_...

AEP: Play with schema and dataset

Image
 In this post I will call few of the basic of datasets in AEP. To start with here is the schema I created This is based on a custom class if Record Type (this class comes with one attribute Identifier shown as locked in the schema). I made the identifier as primary identity. Created a dataset with the same name as class. Data Loading 1. Delimitted File Created a simple delimitted file as below and created a workflow to load it into the dataset Sample Data: id,dataset_name,last_snapshot_id,process_timestamp,process_status,failure_reason journey_step_events_27878,journey_step_events,27878,2024-09-12T19:19:50.036Z,SUCCESSFUL,Not applicable aa_stitched_events_23451,aa_stitched_events,23451,2024-09-17T19:19:50.036Z,FAILED,There was no snapshot available journey_step_events_27891,journey_step_events,27891,2024-09-16T19:19:50.036Z,In Process,Not applicable 2. Using JSON Download the JSON format from the schma page and create JSON file using the format. For multiple records it needs to be ...