Hello. Were working on CPS 3.4.2 and we want to create portlets
programatically from python scripts. The portlets are created fine, but
there are some options (visibility_range/slot_override) that do not work
well until I "Save changes" in the "Manage Portlets" configuration
panel.
Anybody know why this is happening? Is this something common or maybe is
our own instance configuration?
The script that create the portlets looks like:
...
# Project Summary Portlet
kw = {'slot': 'content_well',
'order': 0,
'Title' : 'ProjectSummary Portlet',
'visibility_range': (0,1),
'disable_override' : True,
'slot_override' : True,
'project_summary_id': 'projectsummary',
}
portlet_tool.createPortlet(ptype_id='ProjectSummary Portlet',
context=project_proxy, **kw)
...
Thanks!
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel