Activity Type connections documentation?

2025/09/25 7:02 PM

Is there any documentation on what the ActivityItemID and ActivityItemDetailID refer to for each of the built-in Activity types?

I believe for Forms it used to be ActivityItemID -> Form's FormID, and ActivityItemDetailID is the form row's ID (though it's possible that's no longer true), but I'm hoping there's a full list somewhere.

I'm putting together reporting on a user's activities (to expose to an external marketing system via API) - I'm currently working on the reporting for Email clicks and Page visits, but I suspect they'll eventually want reporting on all the built-in types (plus the custom types, but I set the ids on those myself :) ).

Tags:
Customer data Email channels Website channels

Answers

2025/09/26 6:44 AM

Based on the provided documentation, there is no detailed reference that specifically lists what the ActivityItemID and ActivityItemDetailID represent for each built-in activity type in Xperience by Kentico. The API documentation describes these properties as IDs related to the activity, but does not break down their meaning per activity type.

The properties ActivityItemID and ActivityItemDetailID are described as follows:

  • ActivityItemID: Gets or sets the ID of the item that relates to this activity.
  • ActivityItemDetailID: Gets or sets the ID of the item detail that relates to this activity.

However, there is no detailed documentation in the provided sources that explains what these IDs specifically refer to for each built-in activity type. The documentation lists these properties and their types but does not map them to specific meanings for each activity type.

Here are the relevant API references for your review, hope it helps:

2025/09/29 7:11 PM

@JurajO

Thank Juraj - that matches what I'd found via the documentation as well.

Given that each Activity type does a different behavior with ItemID and ItemDetailID, and that the resultant is simply an int, there's no real way other than creating a bunch of test-cases and trying to experimentally determine what these types mean.

Since these are built-in Kentico logic, it'd be very helpful if someone created documentation on what all of the different types of Activities create for Item and ItemDetailID. Likely much easier for someone in Kentico who could just create test cases for each activity type, than for a developer like myself who is building this for a site not yet in Production (and thus not receiving many of the activity types yet).

Is there a better place than here to request that documentation be created?

2025/10/01 2:49 PM

Is there a better place than here to request that documentation be created?

Yep, in the documentation itself! Every documentation page has a "Send us feedback" button at the bottom of the page. That feedback goes straight to our team.

The Set up activities page seems like a good place to start 😅.

To response this discussion, you have to login first.