<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to populate built-in appVersion field in RUM User Sessions using dtrum.sendSessionProperties() in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-populate-built-in-appVersion-field-in-RUM-User/m-p/305202#M7477</link>
    <description>&lt;P&gt;&lt;STRONG&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/109132"&gt;@Mohsen&lt;/a&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Is it possible to set the built-in appVersion session field using dtrum.sendSessionProperties()? -&lt;/STRONG&gt; No, only session properties can be sent using that method.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Does Dynatrace map a custom property named appversion (or appVersion) to the built-in appVersion field?&amp;nbsp;&lt;/STRONG&gt;No, session or action properties are custom properties you define in your application definition and values can be sent to them.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If not, what is the recommended way to populate the built-in appVersion field for a React web application using the Serverless Agent JavaScript?&lt;/STRONG&gt; appVersion is afaik used only for mobile and custom applications and this field is populated by the Mobile SDK or OpenKit. See&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/api-usql-structure" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/api-usql-structure&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Do I need to create a custom session property and query that instead of relying on the built-in appVersion field?&lt;/STRONG&gt; Yes, that seems to be the only option as of today. Even the example page includes this&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/user-session-properties#examples-of-action-and-session-properties" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/user-session-properties#examples-of-action-and-session-properties&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Sun, 11 Oct 2026 18:29:31 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2026-10-11T18:29:31Z</dc:date>
    <item>
      <title>Unable to populate built-in appVersion field in RUM User Sessions using dtrum.sendSessionProperties()</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-populate-built-in-appVersion-field-in-RUM-User/m-p/305196#M7476</link>
      <description>&lt;DIV&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm using the &lt;STRONG&gt;Dynatrace Serverless Agent JavaScript&lt;/STRONG&gt; in a &lt;STRONG&gt;React web application&lt;/STRONG&gt; and I'm trying to populate the built-in &lt;STRONG&gt;appVersion&lt;/STRONG&gt; field that appears in &lt;STRONG&gt;User Sessions Query&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I currently send session properties using the following code:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;dtrum.sendSessionProperties(undefined, undefined, {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; region,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; env: environment,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; appversion: appVersion ?? ''&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;I can confirm that appVersion has a value on the client side, and the call is being executed.&lt;/P&gt;&lt;P&gt;However, when I query user sessions, the built-in appVersion field is always null.&lt;/P&gt;&lt;P&gt;I have &lt;STRONG&gt;not&lt;/STRONG&gt; 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.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is it possible to set the built-in appVersion session field using dtrum.sendSessionProperties()?&lt;/LI&gt;&lt;LI&gt;Does Dynatrace map a custom property named appversion (or appVersion) to the built-in appVersion field?&lt;/LI&gt;&lt;LI&gt;If not, what is the recommended way to populate the built-in appVersion field for a React web application using the Serverless Agent JavaScript?&lt;/LI&gt;&lt;LI&gt;Do I need to create a custom session property and query that instead of relying on the built-in appVersion field?&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohsen_0-1791589737513.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34409i911EF311C9ED4B44/image-size/medium?v=v2&amp;amp;px=400" alt="Mohsen_0-1791589737513.png" title="Mohsen_0-1791589737513.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Oct 2026 23:49:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-populate-built-in-appVersion-field-in-RUM-User/m-p/305196#M7476</guid>
      <dc:creator>Mohsen</dc:creator>
      <dc:date>2026-10-09T23:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to populate built-in appVersion field in RUM User Sessions using dtrum.sendSessionProperties()</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-populate-built-in-appVersion-field-in-RUM-User/m-p/305202#M7477</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/109132"&gt;@Mohsen&lt;/a&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Is it possible to set the built-in appVersion session field using dtrum.sendSessionProperties()? -&lt;/STRONG&gt; No, only session properties can be sent using that method.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Does Dynatrace map a custom property named appversion (or appVersion) to the built-in appVersion field?&amp;nbsp;&lt;/STRONG&gt;No, session or action properties are custom properties you define in your application definition and values can be sent to them.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If not, what is the recommended way to populate the built-in appVersion field for a React web application using the Serverless Agent JavaScript?&lt;/STRONG&gt; appVersion is afaik used only for mobile and custom applications and this field is populated by the Mobile SDK or OpenKit. See&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/api-usql-structure" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/api-usql-structure&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Do I need to create a custom session property and query that instead of relying on the built-in appVersion field?&lt;/STRONG&gt; Yes, that seems to be the only option as of today. Even the example page includes this&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/user-session-properties#examples-of-action-and-session-properties" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/user-session-properties#examples-of-action-and-session-properties&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sun, 11 Oct 2026 18:29:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-populate-built-in-appVersion-field-in-RUM-User/m-p/305202#M7477</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2026-10-11T18:29:31Z</dc:date>
    </item>
  </channel>
</rss>

