Finding the parent
If you use portal_factory for your content types, finding the parent folder is easy if you know how
If you use the portal_factory to create your content types, it can be a little tricky to figure out the parent folder within the edit template because your object is created inside a temporary folder.
Fortunately there is a method called getFolderWhenPortalFactory() already defined (in Archetypes/BaseObject.py) that does the work for you. For example, if you want to get the title of the parent folder, you would do this:
title = self.getFolderWhenPortalFactory().Title()
