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?
As for the 2 buttons, please note this filter:
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 did change the action element's id attribute to "zcheck_email" to avoid the collision you mentioned in your response.
I'll make the filter change and let you know if that makes a difference with the SEAM context.
Thank you, again for your assistance.
The “Check Email” button is considered to be an action in Nuxeo.
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.
Do I need to set up the SEAM context some way?
Here is the error from the log file.
2011-11-22 16:33:03,629 ERROR [org.nuxeo.ecm.platform.actions.DefaultActionFilter] evaluation of condition SeamContext.get("mailActions").checkCurrentInbox failed: returning false