cancel
Showing results for 
Search instead for 
Did you mean: 

Email folder!?

karl_harris_
Star Collaborator
Star Collaborator

Should I be able to see the standard email folder in the Nuxeo Studio Content Model->Documents?

Should I be able to change the standard email folder, like the file, folder, document, etc from within Studio without extending it?

It seems I can extend the email folder, but the Check Email button to download the emails pointed to by the meta-data in the extended email folder does not appear with the extended document as it does with the original document.

How do I enable the Check Email button from an email folder extension document?

1 ACCEPTED ANSWER

Wojciech_Sulejm
Star Contributor
Star Contributor

As for the 2 buttons, please note this filter:

 
            MailFolder
          

You might want to change it to your type id that extends the MailFolder.

Please note that the code I gave you was to show you the pattern to use. It is not to be used as copy/paste code as in that case you would just be duplicating the extension definition, which should be visible in the logs as well.

View answer in original post

5 REPLIES 5

Wojciech_Sulejm
Star Contributor
Star Contributor

The "Check Email" button is considered to be an action in Nuxeo.

link:User Actions

Below you will find how the original "Check Email" button was added and you could use the same pattern for your extended document. Please note that you can add extension definitions directly in Studio, which is a good approach for maintainability.

 
	  
	    SUBVIEW_UPPER_LIST
	    
	      
	        MailFolder
	      
	    
	  

    

I believe I have the extension above producing a Check Email button on an document which extends MailFolder. The button is firing the SEAM action however SEAM is complaining that it can't find the SEAM component or it can't find the method checkCurrentInbox.

FWIW

Wojciech_Sulejm
Star Contributor
Star Contributor

As for the 2 buttons, please note this filter:

 
            MailFolder
          

You might want to change it to your type id that extends the MailFolder.

Please note that the code I gave you was to show you the pattern to use. It is not to be used as copy/paste code as in that case you would just be duplicating the extension definition, which should be visible in the logs as well.

I set up the two button screen on purpose just to test the both buttons side by side with a known good folder.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.