I have a document type that I am unable to use the ECB menu item 'download a copy'. I get a runtime error when trying to download. Looking at the URL it is unable to get the url for the file I want to delete. This works for other content types. The URL it is trying to send me to when it gets the error is:
The source url is undefined where it is a legitimate value for other content types.
I then decided to make my own button and hide the default one for this content type. However it is still unable to find the URL for any documents of this type. Instead it gets:
I tried using CAML Designer and am able to retrieve the FileRef for all documents in the library. And any user with full control can download a document but giving every user full control isn't an option. Does anyone know why this is happening or a workaround for this?
This uses a custom view of the documents library. So there is the AllItems.aspx page as well as a seperate page that less privileged users get redirected to. Users can download from the AllItems page but not the documents unless they have full control.