cancel
Showing results for 
Search instead for 
Did you mean: 

add a "send email" user Action

Julien_A_
Champ on-the-rise
Champ on-the-rise

Hello,

I simply want to add a "send email" button with Nuxeo Studio, just like here :

alt text

I added an XML extension with :

<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
    <action icon="/icons/mail.png" id="sendEmail" label="action.email.document" link="send_email" order="17" enabled="true" >
      <category>DOCUMENT_UPPER_ACTION</category>
    </action>
</extension>

==> the button appears, but no email is sent 😞

Do you have any idea why ?

Thank you

1 REPLY 1

Julien_A_
Champ on-the-rise
Champ on-the-rise

Ok, I managed to do it with this code :

<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions"> 
   <action id="sendNotificationEmail" enabled="true" />

      <action id="sendNotificationEmail" link="send_notification_email" enabled="true" order="17" label="action.email.document" icon="/icons/mail.png"> 

      <category>DOCUMENT_UPPER_ACTION</category> 

   </action>   
</extension> 

==> I replaced send_email with send_notification_email

Thanks ! 😉