11 May
2013
11 May
'13
6:22 p.m.
Is it way to get whole Custom object content to be send it in the mail? I do it in Groovy as it is described in http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial I know it could be done by redoing the same formatting as in the class sheet, but, as I need to notify about different objects, it is too cumbersome and error prone. I tried unsuccessfully: 1. xwiki.getURLContent("url","user","password") failed because user and password seems not working, 2. doc.getRenderedContent() shows only doc.content part, ignoring custom object properties. Thanks! Valdis