Hi,
We are running DW 9.12.2 with customer center integration to BC. Is it possible to rename the file requested from BC in regrads to OpenOrder and Invoices?
Br,
Mads
Hi,
We are running DW 9.12.2 with customer center integration to BC. Is it possible to rename the file requested from BC in regrads to OpenOrder and Invoices?
Br,
Mads
Hi MAds,
I had a similar request in the past and I could not find a way to do it from the settings.
And we ended up with an IIS rewrite rule:
<rewrite>
<outboundRules>
<rule name="ContentDisposition Rewrite Rule - Documents" preCondition="ExcelFiles">
<match serverVariable="RESPONSE_Content_Disposition" pattern="(.*)filename=(.*)IntegrationCustomerCenterItem(.*)$" />
<action type="Rewrite" value="attachment; filename="Decocenter_{R:3}"" />
</rule>
<preConditions>
<preCondition name="ExcelFiles" logicalGrouping="MatchAny">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^application/pdf" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
I hope it helps.
Adrian
Hi,
Thanks for the reply.
Could it be something Dynamicweb looked into? I think a lot of webshop clients would like the ability to rename the file in a more customer oriented manner.
Br, Mads
Yeah, I created #5884, that allows you to use &filename=invoice-2345.pdf as a parameter to control the filename.
It is sent for code review and QA and will be part of next Liveintegration.dll release.
BR Nicolai
Awesome!
Adrian
Hi Adrian
Feature #5884 regarding filename of integrated customer center downloads
Has been implemented in Dynamicweb version 9.12.5
You can get this from the download section https://doc.dynamicweb.com/downloads/releases
Please contact support@dynamicweb.dk if there are any questions regarding the upgrade
Kind Regards
Dynamicweb Support
Kristian Kirkholt
Hi Kristian,
Thank you very much.
Adrian
You must be logged in to post in the forum