Foros de discusión

Action Button in Document Library

thumbnail
Jason Andrew, modificado hace 9 años.

Action Button in Document Library

New Member Mensajes: 18 Fecha de incorporación: 1/03/14 Mensajes recientes
I've been trying to add an addition button in view of document inside document library, but i cant make it using struts
That button named "send as attachment".

Is there any other approach easy approach to do,

The action of this button is to get that file,and send as attachment into an email.

Thank you in advance.

Regards
thumbnail
Freya Haynes, modificado hace 9 años.

RE: Action Button in Document Library

New Member Mensajes: 6 Fecha de incorporación: 10/07/14 Mensajes recientes
You mean you want to view document before sending it? You have to set metadata first.

https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/document-types-and-metadata-se-6
https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/automatic-previews-and-metada-6
thumbnail
Olaf Kock, modificado hace 9 años.

RE: Action Button in Document Library

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
Jason Andrew:
I've been trying to add an addition button in view of document inside document library, but i cant make it using struts
That button named "send as attachment".

Is there any other approach easy approach to do,


Let me rephrase this in different words: "I've been doing something. Didn't work. How else can I do it?

You might want to give more details on your problem, what you already tried to solve it and how it didn't work for you. So far the sneaky answer to your question, of course, is: "Yes, there always is another approach"