I want to send the file link in the message in user inbox and not the context entity link (the entity has the file attribute). So that user can click and open the file and not the record.
Is is possible?
thanks
Umesh
I want to send the file link in the message in user inbox and not the context entity link (the entity has the file attribute). So that user can click and open the file and not the record.
Is is possible?
thanks
Umesh
Any Suggestions please
Hi,
The fileDescriptor is also an entity, so it can also be directly used as the entity reference. But I would assume atm the standard editor of the FileDescriptor entity will be displayed. So the user will have an additional click to perform the download.
You can extend the message editor and programmatically check if the entity reference is FileDescriptor, you can implement some different behavior for the form field click.
I’m not 100% sure if it can be build into the add on, as the behavior might be dependend on the use-case. Perhaps for some apps downloading the file is fine, whereas for others displaying the file directly in the browser would be better.
But the above mentioned solution will do what you want to achieve.
Cheers
Mario