Hi, i didnt find a documentation for creating an XObject to a Wiki-Page when a new Page is created. I think it must something like that, but who do i place it? EntityReference entRef = doc.resolveClassReference("Space.WhateverClass"); int objectIndex = doc.createXObject(entRef, getXWikiContext()); BaseObject o = doc.getXObjects(entRef).get(objectIndex); I know i can create a new object and page by velocity (http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+Page+With+Object), but i want to add a default and predefined object when a user add a new page. Is there a way to do this from plugin-side? Regards, Matthias -- View this message in context: http://xwiki.475771.n2.nabble.com/Create-Object-by-Default-with-a-new-Page-t... Sent from the XWiki- Dev mailing list archive at Nabble.com.