Skip to content

Enhancement Request - new-portal #26

@CBPSC

Description

@CBPSC

Wondering if it would be possible to create a new site/portal via command line. The command could accept parameters for:

  • Title
  • Description
  • Template
  • Site type
  • Site URL
  • Site Copyright
  • Timezone

The command could be something like:
" new-portal "DNNDev" --Description "The best DNN Site ever" --Template "Blank" --Site-Type "Domain" --Site-URL "http://www.ABC123.com" --Site-Copyright "Copyright [year] by McManus Farms" --Time-Zone "Eastern"

I'm thinking the template area could be tricky so I would only consider offering 2 options there (Blank & Default)

If you really want to get fancy you could allow the PowerAdmin user to even denote the top level pages as well so that not only would you be able to script out the new site/portal, but also could have the pages you want there from the get-go. (Not sure if that's possible, but it would save time I think)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions