<?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 Make Title field Required in Print Widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/make-title-field-required-in-print-widget/m-p/1548915#M85902</link>
    <description>&lt;P&gt;I need to make the 'Title' field of the print widget required. By default, the title gets 'untitled' text if the field is empty.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) How to make this field required for export?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-16 144158.png" style="width: 352px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117299i103D5EF901F938CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-10-16 144158.png" alt="Screenshot 2024-10-16 144158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;      const printWidget = new Print({
        view: view,
        container: printContainerRef.current!,
        printServiceUrl: PRINT_SERVER_URL,
        templateOptions: {
          title: "ArcGIS Web Map",
          fileName: "ArcGIS Web Map",
          height: 500,
          width: 670,
        },
      });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) How do you set a maximum value for height and width (map only)?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2024-10-16 145109.png" style="width: 337px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117300iA62F11B178C5342D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-10-16 145109.png" alt="Screenshot 2024-10-16 145109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 09:23:03 GMT</pubDate>
    <dc:creator>LakshanRasingolla</dc:creator>
    <dc:date>2024-10-16T09:23:03Z</dc:date>
    <item>
      <title>Make Title field Required in Print Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/make-title-field-required-in-print-widget/m-p/1548915#M85902</link>
      <description>&lt;P&gt;I need to make the 'Title' field of the print widget required. By default, the title gets 'untitled' text if the field is empty.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) How to make this field required for export?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-16 144158.png" style="width: 352px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117299i103D5EF901F938CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-10-16 144158.png" alt="Screenshot 2024-10-16 144158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;      const printWidget = new Print({
        view: view,
        container: printContainerRef.current!,
        printServiceUrl: PRINT_SERVER_URL,
        templateOptions: {
          title: "ArcGIS Web Map",
          fileName: "ArcGIS Web Map",
          height: 500,
          width: 670,
        },
      });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) How do you set a maximum value for height and width (map only)?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2024-10-16 145109.png" style="width: 337px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117300iA62F11B178C5342D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-10-16 145109.png" alt="Screenshot 2024-10-16 145109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 09:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/make-title-field-required-in-print-widget/m-p/1548915#M85902</guid>
      <dc:creator>LakshanRasingolla</dc:creator>
      <dc:date>2024-10-16T09:23:03Z</dc:date>
    </item>
  </channel>
</rss>

