2012年6月7日 12:23Can i customize the file copy / file download mechanism from a document library so that the filename is not taken from the "name" field but generated based on other attributes? Could this be made even made configurable in the configuration screen of a library.
the download a copy ECB menu item calls the /_layouts/download.aspx;
And download.aspx inherits download class in microsoft.sharepoint.applicationpages.dll; you can file that the filename information is specified in AddContentDispositionHeader method of the download class as below:
So, you may create your own ASPX page for download, with your own custom code behind based on the out of box download class, and add your own ECB menu item as custom action;