Real-Time CDP - alloy sendEvent to update Profile information gets sent to Experience Event dataset and Profile attributes dropped
Hi all,
I have a POC which should set or update Profile information based upon a web form which information is supposed to be sent through Web SDK / sendEvent.
The Profile schema contains a section for person information such as first name and last name (standard Adobe XDM schemas used).

The dataset is updated and contains this field group.
Now, when I try to send the information via custom code
const data = {
xdm: {
identityMap: {
myPersonId: [
{
authenticatedState: "ambiguous",
id: "12345",
primary: true
}
]
},
person: {
name: {
firstName: "John",
lastName: "Doe"
}
}
}
};
alloy("sendEvent", data).then(response => {
console.log("Profile updated successfully:", response);
}).catch(error => {
console.error("Error updating profile:", error);
});
I never see any of this data ending up in the Profile dataset.
Upon Assurance debugging, it looks like the dataset ID which is used is that one of my Experience Event instead which does not contain the field group.
The event dataset is the only dataset that is actually receiving any kind of data, and I wonder what I am doing wrong or whether it is at all possible to update the Profile without using the API.
Any hint is highly appreciated!
