<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Retain the file extension</title><link>https://community.appian.com/discussions/f/plug-ins/24390/retain-the-file-extension</link><description>Hi Team, 
 Is there a way in Appian where we can retain the file extension as the extension that we are using in our template. We have a requirement where we are using the excel base template with in-built macro having the file extension as .xlsm and</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94137?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 20:58:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c10c6f78-69b9-4bd2-a7a9-69aeda46315f</guid><dc:creator>tamaraw</dc:creator><description>&lt;p&gt;This is a smart service that converts to Excel. The only way you can achieve it is to copy the file generated into the xlsm extension. Then, delete the original generated file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94124?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:44:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:171b3187-0844-4adc-bd83-f300b14d43c5</guid><dc:creator>ananditab806196</dc:creator><description>&lt;p&gt;Yes your understanding is correct.&amp;nbsp;&lt;br /&gt;&lt;span&gt;Even after downloading the generated file, manually renaming it back to the correct extension, then opening it, the macro still doesn&amp;#39;t work.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94123?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:39:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4d31051b-b410-4718-8800-58f68f0d5d08</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;wait, are you saying that if you download the generated file, manually rename it back to the correct extension, then open it, that the macro still doesn&amp;#39;t work?&lt;/p&gt;
&lt;p&gt;if that&amp;#39;s what you&amp;#39;re saying, then to me it sounds like the file with macros might not be compatible with the Export SQL to Excel smart service.&amp;nbsp; I&amp;#39;ve found in the past that these smart services tend to get rid of everything in a cell other than the value they&amp;#39;re adding, so I can&amp;#39;t speak to whether your plan will even work if this has been your observation.&amp;nbsp; If I&amp;#39;m misunderstanding what you said though, please let me know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94122?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:33:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6d2fa63-aa06-4482-9a61-ca5717bad1da</guid><dc:creator>ananditab806196</dc:creator><description>&lt;p&gt;The manual renaming does opens up the file but the purpose is not resolved that is the macro is not working.&amp;nbsp;&lt;br /&gt;So, i&amp;#39;ll do try the above mentioned approach. Thanks for your suggestions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94120?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:26:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0be147a3-4a71-44d5-b6a6-384bda70a100</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;It&amp;#39;s likely the plug-in has it hardcoded that created files will get the &amp;quot;.xlsx&amp;quot; extension.&amp;nbsp; Have you verified that the generated file still works as appropriate after you download it, manually rename it to the &amp;quot;.xlsm&amp;quot; extension, then open it?&amp;nbsp; I haven&amp;#39;t personally tried the above, so I can&amp;#39;t really speak to it - but if it does seem to work, then I&amp;#39;d suggest you try Naresh&amp;#39;s suggested workaround.&amp;nbsp; It will be extra steps in the process, but if you configure it correctly it should at least be seamless to the user&amp;#39;s perspective.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94118?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:23:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e1b6053-e1ff-4f6e-9a47-c2a0b10e2870</guid><dc:creator>ananditab806196</dc:creator><description>&lt;p&gt;We are using Export SQL to excel smart service to generate the excel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94116?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:17:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e8b94d91-f86c-4126-a2fa-84e91cf976e3</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;It depends on what smart service you&amp;#39;re using to generate your excel.&amp;nbsp; If it&amp;#39;s automatically being changed on you, and there are no apparent settings to manually configure the eventual extension, then it&amp;#39;s likely you will need to use the workaround suggested above.&amp;nbsp; Can you clarify which smart service you&amp;#39;re using to handle the generation, since you didn&amp;#39;t mention it initially?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94115?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:13:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f3b1e015-1efd-40c1-a4ad-8ee2571a582c</guid><dc:creator>ananditab806196</dc:creator><description>&lt;p&gt;Hey Naresh,&lt;br /&gt;Thanks for your response, I dont want to change the extension.. I just want to retain the extension as I have on my base template. Is that possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retain the file extension</title><link>https://community.appian.com/thread/94113?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:10:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:941568c3-4947-4109-84b8-e28cca80a785</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you can use copy document smart service to copy the file and change the file extension. After changing the file extension you can delete other document if you want.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>