# Unable to populate built-in appVersion field in RUM User Sessions using dtrum.sendSessionProperties()

**URL:** <https://community.dynatrace.com/t/unable-to-populate-built-in-appversion-field-in-rum-user-sessions-using-dtrum-sendsessionproperties/57120>\
**Category:** Real User Monitoring\
**Tags:** application-monitoring, user-sessions, javascript\
**Created:** [October 9, 2026, 11:49pm UTC](https://community.dynatrace.com/t/unable-to-populate-built-in-appversion-field-in-rum-user-sessions-using-dtrum-sendsessionproperties/57120 "2026-10-09T23:49:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohsen](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Mohsen](https://community.dynatrace.com/u/Mohsen)\
**Post date:** [October 9, 2026, 11:49pm UTC](https://community.dynatrace.com/t/unable-to-populate-built-in-appversion-field-in-rum-user-sessions-using-dtrum-sendsessionproperties/57120/1 "2026-10-09T23:49:51Z")

</div>

Hi everyone,

I’m using the **Dynatrace Serverless Agent JavaScript** in a **React web application** and I’m trying to populate the built-in **appVersion** field that appears in **User Sessions Query**.

I currently send session properties using the following code:

dtrum.sendSessionProperties(undefined, undefined, {&nbsp; region,&nbsp; env: environment,&nbsp; appversion: appVersion ?? ‘’});

I can confirm that appVersion has a value on the client side, and the call is being executed.

However, when I query user sessions, the built-in appVersion field is always null.

I have **not** created a custom User Session Property or User Action Property for appversion because my understanding is that appVersion is already a built-in Dynatrace session attribute, and I was hoping to populate that field directly.

**Questions:**

1. Is it possible to set the built-in appVersion session field using dtrum.sendSessionProperties()?
2. Does Dynatrace map a custom property named appversion (or appVersion) to the built-in appVersion field?
3. If not, what is the recommended way to populate the built-in appVersion field for a React web application using the Serverless Agent JavaScript?
4. Do I need to create a custom session property and query that instead of relying on the built-in appVersion field?

 ![Mohsen_0-1791589737513.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b3dc13bfb64a9d21430d7b336b221cc5fe4dea89.png)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 11, 2026, 6:29pm UTC](https://community.dynatrace.com/t/unable-to-populate-built-in-appversion-field-in-rum-user-sessions-using-dtrum-sendsessionproperties/57120/2 "2026-10-11T18:29:31Z")

</div>

**[@Mohsen](https://community.dynatrace.com/user/109132)**

1. **Is it possible to set the built-in appVersion session field using dtrum.sendSessionProperties()? -** No, only session properties can be sent using that method.
2. **Does Dynatrace map a custom property named appversion (or appVersion) to the built-in appVersion field?**&nbsp;No, session or action properties are custom properties you define in your application definition and values can be sent to them.
3. **If not, what is the recommended way to populate the built-in appVersion field for a React web application using the Serverless Agent JavaScript?** appVersion is afaik used only for mobile and custom applications and this field is populated by the Mobile SDK or OpenKit. See&nbsp;[User sessions API - User session structure — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/api-usql-structure)
4. **Do I need to create a custom session property and query that instead of relying on the built-in appVersion field?** Yes, that seems to be the only option as of today. Even the example page includes this&nbsp;[Define user action and user session properties for web applications in RUM Classic — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/user-session-properties#examples-of-action-and-session-properties)
