Closed jone closed 8 years ago
The inflator's transmogrifier config can be used in code for importing single items by using the single_item_content_creation configuration:
single_item_content_creation
item = {'_path': 'foo', '_type': 'Folder', 'title': 'Foo'} mogrifier = Transmogrifier(portal) mogrifier(u'ftw.inflator.creation.single_item_content_creation', jsonsource=dict(item=item))
The inflator's transmogrifier config can be used in code for importing single items by using the
single_item_content_creation
configuration: