GenericSetup is a Zope/cmf-based toolkit for managing site configuration. It allows you to specify through xml files various tweaks needed by your site at the time of installation.
Questions tagged [genericsetup]
30 questions
5
votes
2 answers
Is there a good reference list for the names of the genericsetup import steps
Is there a comprehensive reference list of the generic setup import step names?
The names of generic setup import steps don't always match the names of their corresponding xml files for example 'types.xml' has an import step called 'typeinfo'.
In…

David Bain
- 2,439
- 1
- 17
- 19
5
votes
3 answers
Plone custom viewlets.xml not being picked up
Quoting http://plone.org/documentation/kb/customizing-main-template-viewlets/tutorial-all-pages (about 1/4 of the page down)
If all you need is to reorder the viewlets in the Plone Default skin, you can simply copy the original viewlets.xml from…

Jan
- 6,532
- 9
- 37
- 48
4
votes
1 answer
How to migrate resources registry resources to Plone 5
I have an add-on (collective.lazysizes) that includes a couple of JavaScript resources into Plone 4 resource registry using the following jsregistry.xml file:
4
votes
3 answers
Add new record to plone.registry without re-running GenericSetup / re-installing the product
in a Plone add-on product, I have a control panel page where some config options can be set. They are stored in plone.registry. The control panel adapter fetches the different fields in its __init__ method by querying the interface, like:
class…

pysailor
- 43
- 3
3
votes
1 answer
How would one set the default view of content that is imported via Generic Setup (structure)
I already know how to programatically set the default view content, in my specific case, a Folder, or how to use the Plone UI to do it. In my case, I am creating a large skeleton of content via GenericSetup and I need a set of folders to have a…

Spanky
- 5,608
- 10
- 39
- 45
3
votes
4 answers
Removing fieldset tab interface on a Dexterity content type
I need to add a condition to avoid the load of some javascript code when adding an object of my content type; the following condition only works when editing the object:
3
votes
1 answer
Cleaning up portal_setup
Is it ok to delete old import profiles in portal_setup.
Currently I have site with many many entries dating back to 2009::
import-all-profile-Products.Archetypes_Archetypes-20090424091904.log External Editor
I believe this should not affect site…

Mikko Ohtamaa
- 82,057
- 50
- 264
- 435
3
votes
1 answer
Content types hiding and permission
I'd like to disable/hide some content types site-wide so that only Administrators can add them. What would be the best practice to do it? Does GenericSetup provide any XML for such a task or do I need to create a custom import step?

Mikko Ohtamaa
- 82,057
- 50
- 264
- 435
3
votes
2 answers
HTML filtering settings in Plone 4?
Is there a way to configure the HTML filtering settings in Plone 4 through GenericSetup?
Otherwise is there some example code for modifying the HTML filtering settings through Python?
user2665694
3
votes
2 answers
Avoid creation of Plone's default content
I'm working in a project that creates a Plone 4.3 site that installs plone.app.contenttypes as it's default content types. After site creation I see all default content (the front page and some folders and collections) that are still…

hvelarde
- 2,875
- 14
- 34
3
votes
1 answer
Does Reinstalling a product run all the upgrade steps in Generic Setup?
It seems some steps are not being run. Am I missing the place where I should specify these?

sureshvv
- 4,234
- 1
- 26
- 32
3
votes
2 answers
How to remove an element from a list type Resource Registry record using Generic Setup
In the current Plone 5 coredev buildout, I am trying to write a GenericSetup uninstall profile for an add-on that registers some css in cssregistry.xml. In Plone 5, portal_css and portal_javascripts are empty, with all those resources now…

fulv
- 1,016
- 1
- 9
- 18
3
votes
1 answer
using collective.z3cform.datagridfield with plone.app.registry and GenericSetup
Plone 4.2.0.1, plone.app.registry 1.1, plone.supermodel 1.1.1, collective.z3cform.datagridfield 0.11
I am trying to use collective.z3cform.datagridfield for a plone.app.registry field but having trouble actually setting values for it. The…

Esoth
- 437
- 2
- 9
3
votes
2 answers
Plone 4 smarter generic setup updates needed
The core of the problem, is that GenericSetup profiles are additive. Sometimes products can't be upgraded by simply applying profiles and the whole chain of profiles needs to be applied in a certain order.
For example, say we have a lot of…

Roman Susi
- 4,135
- 2
- 32
- 47
2
votes
1 answer
Removing custom property sheet with uninstall profile
I'm storing information in a custom property sheet for one of my custom products (I'm then using that information in a javascript file). I want this product to uninstall cleanly, but I can't seem to figure out how to remove a custom property sheet…

keiththomps
- 8,005
- 3
- 15
- 17