<?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: Dynamic Text in Reports ArgGIS Pro SDK in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1466708#M11530</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Dynamic text with "field value" can be added to a Field element in a report. This allows you to modify the field values in your report for that particular field. You will see this behavior with the Report UI. This same behavior should be supported via Report creation with the API.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UmaHarano_0-1715707365781.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104086i750ABBDD60702C43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UmaHarano_0-1715707365781.png" alt="UmaHarano_0-1715707365781.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 17:23:09 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2024-05-14T17:23:09Z</dc:date>
    <item>
      <title>Dynamic Text in Reports ArgGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1465826#M11528</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a report using ArcGIS Pro SDK APIs. I am able to create a basic structure that will contain fields and their values in the details section. I am also able to add some statistics for the report.&lt;/P&gt;&lt;P&gt;We have a use case to have some fields with dynamic data that should be loaded/filled during the report creation. I tried using a way of dynamic text, under which I created a rectangle text and used this tag: "&lt;STRONG&gt;ObjectId: &amp;lt;dyn type="report" property="field-value" field="OBJECTID"/&amp;gt;&lt;/STRONG&gt;". But this is not working when I am exporting the report to PDF.&lt;/P&gt;&lt;P&gt;Can we have dynamic field data in the header section of the report? These fields or data will not be shown as part of tabular data which we generally have in the details section. This we are trying to show some extra data in the header besides the regular fields data and not in the tabular form but simply a list form.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145101"&gt;@CharlesMacleod&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/54046"&gt;@NarelleChedzey&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 13:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1465826#M11528</guid>
      <dc:creator>RITASHKOUL</dc:creator>
      <dc:date>2024-05-14T13:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text in Reports ArgGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1466708#M11530</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Dynamic text with "field value" can be added to a Field element in a report. This allows you to modify the field values in your report for that particular field. You will see this behavior with the Report UI. This same behavior should be supported via Report creation with the API.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UmaHarano_0-1715707365781.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104086i750ABBDD60702C43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UmaHarano_0-1715707365781.png" alt="UmaHarano_0-1715707365781.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 17:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1466708#M11530</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-05-14T17:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text in Reports ArgGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1469395#M11536</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;Can u point me to the documentation or the code snippet? Because when I am trying to insert field value in the report header, Field Value is disabled in Insert tab. In the documentation&amp;nbsp; as well as the code snippet, it is mentioned that field value can inserted only in&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RITASHKOUL_0-1715748411215.png" style="width: 1170px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104149i1EBF2FA611E00179/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RITASHKOUL_0-1715748411215.png" alt="RITASHKOUL_0-1715748411215.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;GraphicElement fieldHeaderGraphic = ReportElementFactory.Instance.CreateRectangleParagraphGraphicElement(reportsSection, newHeaderFieldEnvelope, field.Name);&lt;/P&gt;&lt;P&gt;But using the above it is creating the field but not adding its dynamic value but exporting it as it is in the pdf file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RITASHKOUL_0-1715784637751.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104179i16A472C2DC1E8036/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RITASHKOUL_0-1715784637751.png" alt="RITASHKOUL_0-1715784637751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For my use case besides fields section I need data like &lt;STRONG&gt;Label : {value}&lt;/STRONG&gt; somewhere in the header(above field section) and then in runtime I need to update the value of data &lt;STRONG&gt;Label&lt;/STRONG&gt;. Or can we create this section completely runtime without the placeholder. So from scratch can I create this Label:value?&lt;/P&gt;&lt;P&gt;I need data/structure like this in the pdf file&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Label1: value&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Label2: value&lt;/P&gt;&lt;P&gt;Label3:value&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Label4:value&lt;/P&gt;&lt;P&gt;Page Header Section:&lt;/P&gt;&lt;P&gt;Details Section:&lt;/P&gt;&lt;P&gt;Page footer Section:&lt;/P&gt;&lt;P&gt;Report footer Section:&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145101"&gt;@CharlesMacleod&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/54046"&gt;@NarelleChedzey&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 14:54:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1469395#M11536</guid>
      <dc:creator>RITASHKOUL</dc:creator>
      <dc:date>2024-05-15T14:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text in Reports ArgGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1473219#M11542</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Field values for a attributes are only displayed in the "ReportDetails" section of a Report. In the Report UI, you will notice that the "Insert Tab&amp;gt; Field button (Data group) is only enabled when you select the "Details" section in the Report TOC. In the screenshot below, notice how I have selected the Details section in the TOC and hence the Field button in the ribbon is enabled.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UmaHarano_0-1715807441686.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104228iD81448D39AFDDD43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UmaHarano_0-1715807441686.png" alt="UmaHarano_0-1715807441686.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 21:12:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1473219#M11542</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-05-15T21:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text in Reports ArgGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1473401#M11543</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp; But now my question is, besides the attribute or field data in tabular form, is there any other place I can have some dynamic data in the below format:&lt;/P&gt;&lt;P&gt;Label1: value1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Label2: value2&lt;/P&gt;&lt;P&gt;Label3: value3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Label4: value4&lt;/P&gt;&lt;P&gt;I can see a method:&lt;/P&gt;&lt;P&gt;ReportElementFactory.Instance.CreateRectangleParagraphGraphicElement(reportHeader, newFieldEnvelope, item)&lt;/P&gt;&lt;P&gt;Here I can set the value of item as Label1:value1 but then challenge will be from where to start and end and also how to decide to set the width of that element(because small width can truncate the element value). In the code snippets, reference is taken from the last element added but if there is no last element and we are adding the elements from the scratch then it will be challenge to create the above structure having labels and their values.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also there is a problem if the value is too large for the element its not wrapping the value but truncating it?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 12:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1473401#M11543</guid>
      <dc:creator>RITASHKOUL</dc:creator>
      <dc:date>2024-05-16T12:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text in Reports ArgGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1474192#M11548</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;You should be able add dynamic texts to the Report Header section.&amp;nbsp; The method you listed is correct.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It will definitely be a design challenge to site an array of text elements in the Header section.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Are you seeing any word wrapping problems for texts with many characters?&amp;nbsp;&lt;SPAN&gt;CreateRectangleParagraphGraphicElement should automatically wrap, so please let us know if you are running into issues there.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 16 May 2024 21:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1474192#M11548</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-05-16T21:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text in Reports ArgGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1474220#M11549</link>
      <description>&lt;P&gt;Dynamic texts when added to report header are not exported correctly to pdf. The value is exported as it is. So if dynamic text is {OBJECTID} it is not exporting object id’s value but exporting as it is which is&amp;nbsp;&lt;SPAN&gt;{OBJECTID}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am seeing wrapping issues as well for both scenarios: Details(fields) section as well element created using CreateRectangleParagraphGraphicElement&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RITASHKOUL_0-1715928783125.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104445i448CA2D5D98E6912/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RITASHKOUL_0-1715928783125.png" alt="RITASHKOUL_0-1715928783125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see at the top there are 2 paragraphic elements but they are also truncated. As well as field values are also getting truncated (GUID and string values in 2nd and 3rd columns)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 06:55:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1474220#M11549</guid>
      <dc:creator>RITASHKOUL</dc:creator>
      <dc:date>2024-05-17T06:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text in Reports ArgGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1474794#M11555</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Regarding dynamic texts in the report header, the only dynamic tags supported are in listed in this help page:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/reports/dynamic-report-elements.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/reports/dynamic-report-elements.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Anything related to features in the report data source are only relevant in the Fields section (ReportDetails). They cannot be used in the Header.&lt;/P&gt;&lt;P&gt;Thanks for letting me know about the wrapping issues. I will share this info with the Reports Dev team.&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 21:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dynamic-text-in-reports-arggis-pro-sdk/m-p/1474794#M11555</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-05-17T21:21:04Z</dc:date>
    </item>
  </channel>
</rss>

