<?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>question Re: Mapping Variables to PDF Template Mappings in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/1291690#M3941</link>
    <description>&lt;P&gt;Hi kevinthury,&lt;/P&gt;
&lt;P&gt;An option can be to leverage the Question and Answers table where the variables are written to. I am under the assumption that&amp;nbsp;your variable is not mapped to a field.&lt;/P&gt;
&lt;P&gt;This solution still presents some challenges to uniquely identify the variable you are trying to set in the PDF mapping, but an avenue to explore, nonetheless.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2020 20:55:39 GMT</pubDate>
    <dc:creator>michaelj_sherid</dc:creator>
    <dc:date>2020-02-25T20:55:39Z</dc:date>
    <item>
      <title>Mapping Variables to PDF Template Mappings</title>
      <link>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/1291689#M3940</link>
      <description>&lt;P&gt;When setting up PDF Template Mappings, is there a way to map variables from a Record Producer to the field name on an HR PDF Template?&lt;/P&gt;
&lt;P&gt;We have a Record Producer tied to an HR Service that calls a PDF Template.&amp;nbsp; A variable on this Record Producer has a value we would like on the PDF Template.&amp;nbsp; I have tried the Advanced script to return current.variables.variable_name and caseGR.variables.variables_name.&amp;nbsp; Neither one worked.&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/133330iB06CF17E52EB64FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 20:07:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/1291689#M3940</guid>
      <dc:creator>kevinthury</dc:creator>
      <dc:date>2020-02-25T20:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Variables to PDF Template Mappings</title>
      <link>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/1291690#M3941</link>
      <description>&lt;P&gt;Hi kevinthury,&lt;/P&gt;
&lt;P&gt;An option can be to leverage the Question and Answers table where the variables are written to. I am under the assumption that&amp;nbsp;your variable is not mapped to a field.&lt;/P&gt;
&lt;P&gt;This solution still presents some challenges to uniquely identify the variable you are trying to set in the PDF mapping, but an avenue to explore, nonetheless.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 20:55:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/1291690#M3941</guid>
      <dc:creator>michaelj_sherid</dc:creator>
      <dc:date>2020-02-25T20:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Variables to PDF Template Mappings</title>
      <link>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/1291691#M3942</link>
      <description>&lt;P&gt;Thanks, Mike.&amp;nbsp; I was able to resolve this with a more simpler method.&amp;nbsp; My first tests were close, but resulting in '{}' populating in the PDF Template Field.&lt;/P&gt;
&lt;P&gt;After some debugging, I found the following script to be working as intended.&amp;nbsp; Setting toString() gave me the results I wanted.&amp;nbsp; I hope there are no unintended consequences of this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/133329iC7290246A265A3A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.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>Tue, 25 Feb 2020 21:38:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/1291691#M3942</guid>
      <dc:creator>kevinthury</dc:creator>
      <dc:date>2020-02-25T21:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Variables to PDF Template Mappings</title>
      <link>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/2355885#M26661</link>
      <description>&lt;P&gt;My question a bit different, but related to mapping as well. My issue is that after upgrading to San Diego, there's one particular date field is displayed on the PDF form as editable field. All other fields in the PDF form, including other dates field, are displayed as read-only as we expect, since this PDF form is displayed already populated and just waiting for signature). I've reviewed that field definition, compared with these other dates fields, and nothing seems to explain why this one is editable on the PDF form. Any ideas/suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="J_VillaltaCNL_0-1666102974453.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/210123iA0AEE938C4A6017A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="J_VillaltaCNL_0-1666102974453.png" alt="J_VillaltaCNL_0-1666102974453.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>Tue, 18 Oct 2022 14:24:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/mapping-variables-to-pdf-template-mappings/m-p/2355885#M26661</guid>
      <dc:creator>J_Villalta CNL</dc:creator>
      <dc:date>2022-10-18T14:24:23Z</dc:date>
    </item>
  </channel>
</rss>

