Skip to main content

I am using the displaynamedisplay name for my files to localize the filename, I've written a pipeline that it shows the displaynamedisplay name in the htmlHTML (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the displaynamedisplay name.

So I think I need to overwrite some pipelinepipelines like "media:request" (expample) but this pipeline seems not to work, because itsit's not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allowesallows me to use the displaynamedisplay name as downloadfilenamedownload filename.

Here you can see the Link which is created enter image description here

Here you can see the donwloadnamedownload name

enter image description here

Here you can see the Item name "broschueren123" and the displaynamedisplay name "MyBroschueresDisplayName" enter image description here

I've also asked the Support and they told me: "File DownloadnameDownload name is allwaysalways Item name, not the Displayname" - so I need somsome custom implementation.

I am using the displayname for my files to localize the filename, I've written a pipeline that it shows the displayname in the html (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the displayname.

So I think I need to overwrite some pipeline like "media:request" (expample) but this pipeline seems not to work, because its not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allowes me to use the displayname as downloadfilename.

Here you can see the Link which is created enter image description here

Here you can see the donwloadname

enter image description here

Here you can see the Item name "broschueren123" and the displayname "MyBroschueresDisplayName" enter image description here

I've also asked the Support and they told me: "File Downloadname is allways Item name not the Displayname" - so I need som custom implementation.

I am using the display name for my files to localize the filename, I've written a pipeline that shows the display name in the HTML (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the display name.

So I think I need to overwrite some pipelines like "media:request" (expample) but this pipeline seems not to work because it's not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allows me to use the display name as download filename.

Here you can see the Link which is created enter image description here

Here you can see the download name

enter image description here

Here you can see the Item name "broschueren123" and the display name "MyBroschueresDisplayName" enter image description here

I've also asked the Support and they told me: "File Download name is always Item name, not the Displayname" - so I need some custom implementation.

Notice removed Draw attention by squadwuschel
Bounty Ended with Sergey Krivchenko's answer chosen by squadwuschel
Notice added Draw attention by squadwuschel
Bounty Started worth 150 reputation by squadwuschel
added 149 characters in body
Source Link
squadwuschel
  • 1.2k
  • 9
  • 29

I am using the displayname for my files to localize the filename, I've written a pipeline that it shows the displayname in the html (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the displayname.

So I think I need to overwrite some pipeline like "media:request" (expample) but this pipeline seems not to work, because its not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allowes me to use the displayname as downloadfilename.

Here you can see the Link which is created enter image description here

Here you can see the donwloadname

enter image description here

Here you can see the Item name "broschueren123" and the displayname "MyBroschueresDisplayName" enter image description here

I've also asked the Support and they told me: "File Downloadname is allways Item name not the Displayname" - so I need som custom implementation.

I am using the displayname for my files to localize the filename, I've written a pipeline that it shows the displayname in the html (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the displayname.

So I think I need to overwrite some pipeline like "media:request" (expample) but this pipeline seems not to work, because its not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allowes me to use the displayname as downloadfilename.

Here you can see the Link which is created enter image description here

Here you can see the donwloadname

enter image description here

Here you can see the Item name "broschueren123" and the displayname "MyBroschueresDisplayName" enter image description here

I am using the displayname for my files to localize the filename, I've written a pipeline that it shows the displayname in the html (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the displayname.

So I think I need to overwrite some pipeline like "media:request" (expample) but this pipeline seems not to work, because its not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allowes me to use the displayname as downloadfilename.

Here you can see the Link which is created enter image description here

Here you can see the donwloadname

enter image description here

Here you can see the Item name "broschueren123" and the displayname "MyBroschueresDisplayName" enter image description here

I've also asked the Support and they told me: "File Downloadname is allways Item name not the Displayname" - so I need som custom implementation.

added 353 characters in body
Source Link
squadwuschel
  • 1.2k
  • 9
  • 29

I am using the displayname for my files to localize the filename, I've written a pipeline that it shows the displayname in the html (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the displayname.

So I think I need to overwrite some pipeline like "media:request" (expample) but this pipeline seems not to work, because its not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allowes me to use the displayname as downloadfilename.

enter image description here Here you can see the Link which is created enter image description here

Here you can see the donwloadname

enter image description here

Here you can see the Item name "broschueren123" and the displayname "MyBroschueresDisplayName" enter image description here

I am using the displayname for my files to localize the filename, I've written a pipeline that it shows the displayname in the html (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the displayname.

So I think I need to overwrite some pipeline like "media:request" (expample) but this pipeline seems not to work, because its not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allowes me to use the displayname as downloadfilename.

enter image description here

I am using the displayname for my files to localize the filename, I've written a pipeline that it shows the displayname in the html (that works), but when I try to download the files like pdf's then, the name of the downloaded file is still the item name and not the displayname.

So I think I need to overwrite some pipeline like "media:request" (expample) but this pipeline seems not to work, because its not triggering when I try to download pdf files only on images.

Someone knows what I need to patch or overwrite to set the right

 Content-Disposition

Header or something else that allowes me to use the displayname as downloadfilename.

Here you can see the Link which is created enter image description here

Here you can see the donwloadname

enter image description here

Here you can see the Item name "broschueren123" and the displayname "MyBroschueresDisplayName" enter image description here

added 89 characters in body
Source Link
squadwuschel
  • 1.2k
  • 9
  • 29
Loading
Source Link
squadwuschel
  • 1.2k
  • 9
  • 29
Loading