<?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 Export Button on the WORKSPACE FORM, that downloads/exports the PDF of the record in Next Experience forum</title>
    <link>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644753#M1980</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a form of a table record in a WORKSPACE, on which I need a button to export the record to PDF format and download it.&lt;/P&gt;&lt;P&gt;I know we have url that helps to export the record to PDF (url is https://&amp;lt;instance_name&amp;gt;.service-now.com/&amp;lt;table_name&amp;gt;.do?PDF&amp;amp;sys_id=&amp;lt;Sys ID of the record&amp;gt;&amp;amp;sysparm_view=&amp;lt;Form View&amp;gt;),&lt;/P&gt;&lt;P&gt;but how do I hit that link from the button ? or any other way using UXF Declarative Action and Event Mapping and Event Handler ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with a UI Action with action.setRedirectURL(url) that never worked for the workspace).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 18:24:05 GMT</pubDate>
    <dc:creator>krgss</dc:creator>
    <dc:date>2023-08-16T18:24:05Z</dc:date>
    <item>
      <title>Export Button on the WORKSPACE FORM, that downloads/exports the PDF of the record</title>
      <link>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644753#M1980</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a form of a table record in a WORKSPACE, on which I need a button to export the record to PDF format and download it.&lt;/P&gt;&lt;P&gt;I know we have url that helps to export the record to PDF (url is https://&amp;lt;instance_name&amp;gt;.service-now.com/&amp;lt;table_name&amp;gt;.do?PDF&amp;amp;sys_id=&amp;lt;Sys ID of the record&amp;gt;&amp;amp;sysparm_view=&amp;lt;Form View&amp;gt;),&lt;/P&gt;&lt;P&gt;but how do I hit that link from the button ? or any other way using UXF Declarative Action and Event Mapping and Event Handler ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with a UI Action with action.setRedirectURL(url) that never worked for the workspace).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 18:24:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644753#M1980</guid>
      <dc:creator>krgss</dc:creator>
      <dc:date>2023-08-16T18:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export Button on the WORKSPACE FORM, that downloads/exports the PDF of the record</title>
      <link>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644864#M1981</link>
      <description>&lt;P&gt;You could do this with a button in UIB that uses the link to destination event to open the pdf view in a new browser tab. Check out this post on how to redirect to a non-workspace link:&amp;nbsp;&lt;A href="https://www.servicenow.com/community/developer-forum/how-to-pass-a-parameter-to-an-link-to-destination-event-in-ui/m-p/1575910" target="_blank"&gt;https://www.servicenow.com/community/developer-forum/how-to-pass-a-parameter-to-an-link-to-destination-event-in-ui/m-p/1575910&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You should also be able to do this with a declarative action that fires an event and uses the same event handler, but the UIB button component seems simpler.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 20:26:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644864#M1981</guid>
      <dc:creator>Brad Tilton</dc:creator>
      <dc:date>2023-08-16T20:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export Button on the WORKSPACE FORM, that downloads/exports the PDF of the record</title>
      <link>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644868#M1983</link>
      <description>&lt;P&gt;But I need the button on the Record Page Component, so shouldn't we take the route of UI Actions/UX Form Actions ?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 20:30:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644868#M1983</guid>
      <dc:creator>krgss</dc:creator>
      <dc:date>2023-08-16T20:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export Button on the WORKSPACE FORM, that downloads/exports the PDF of the record</title>
      <link>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644875#M1984</link>
      <description>&lt;P&gt;If you want it in the action bar it'll need to be a declarative action, otherwise you can just put it somewhere on the page from UIB. Just depends on where you want it.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 20:41:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/next-experience-forum/export-button-on-the-workspace-form-that-downloads-exports-the/m-p/2644875#M1984</guid>
      <dc:creator>Brad Tilton</dc:creator>
      <dc:date>2023-08-16T20:41:57Z</dc:date>
    </item>
  </channel>
</rss>

