Nuxeo mailing list archives
[CPS-users-fr] (sans objet)
Grégory FRANCOIS
gregory.francois at unilog.fr
Mar 29 Aou 12:02:14 CEST 2006
Bonjour,
Je souhaite faire figurer l'url d'un document sur un mail dont l'envoi est
déclenché par la transition create de son workflow.
Pour ce faire je récupère le rpath. Afin de constituer l'url complète je
souhaite récupérer l'url du portail.
j'utilise le code suivant (Zope 2.9.4; CPS 3.4.0-1):
dict = state_change.object.getContentInfo()
portalUrl = context.portal_url.getPortalUrl()
mMsg = '%s%s'%(portalUrl, str(dict['rpath']))
Cela ne fonctionne pas, seul le rpath s'affiche dans le corps du message.
Connaissez un autre procédé qui permette de récupérer l'url du portail ?
Vous remerciant par avance.
Cordialement
Grégory François.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
More information about the cps-users-fr
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.