Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6714297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:28:45+00:00 2026-05-26T08:28:45+00:00

Is there a comprehensive reference list of the generic setup import step names? The

  • 0

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 the absence of a list, I would be satisfied with a simple approach to finding out the name of the import step. For example the import step name for plone.app.registry which is managed by the ‘registry.xml’ file is not obvious, I tried to refer to it as ‘registry’ but this fails, see code below:

from Products.CMFCore.utils import getToolByName
PROFILE_ID = 'profile-my.package:default'
setup = getToolByName(context, 'portal_setup')
setup.runImportStepFromProfile(PROFILE_ID, 'registry')

And the result was:

ValueError: No such import step: registry
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:28:46+00:00Added an answer on May 26, 2026 at 8:28 am

    You should try this:

    stepregistry = portal.portal_setup.getImportStepRegistry()
    stepregistry.listSteps()
    

    edit:

    actually this will give you the complete list (I’ve tested it this time):

    >>> portal.portal_setup.getSortedImportSteps()
    (u'PloneSurvey_various', u'rolemap', u'sharing', u'plone-difftool',...
    

    …and if you want more metadata use this:

    >>> portal.portal_setup.getImportStepMetadata('jsregistry')
    {'handler': 'Products.ResourceRegistries.exportimport.jsregistry.importJSRegistry', 'description': u'Import javascript registry', 'version': None, 'title': u'Javascript registry', 'dependencies': (u'toolset', u'componentregistry'), 'id': u'jsregistry', 'invalid': False}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a comprehensive list of error/warning messages for the g++ compiler available online?
Is there comprehensive list of what's new in silverlight 5? I'm seeing different blogs,
Is there a comprehensive list of browser autocomplete naming conventions somewhere? I would like
Is there a comprehensive list of all new concurrent data structures added in .net
Continuing from my previous question , is there a comprehensive document that lists all
Is there a comprehensive Html cleaner/Anti-Xss library for .NET that also has a defined
Is there any comprehensive overview somewhere that discusses all the different types of threads
Is there a comprehensive comparison of different versions of DirectX, different versions of shaders?
Is there any elegant way of splitting a list/dict into two lists/dicts in python,
Is there more comprehensive sample of creating Google App Engine App using GData Python

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.