You are here: Home Plone My Python Scripts Change id of object
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 463
Total Pages: 284
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 03.02.2012 16:00
 

Change id of object

by Wyden Silvan last modified 21.11.2009 18:59

from Products.CMFCore.utils import getToolByName

plone_tool = getToolByName(context, 'plone_utils', None)
new_id = plone_tool.normalizeString(mynewidvar)
new_context.setId(new_id)