+1-888-365-2779
Try Now
More in this section

Forums / Deployment / Use PowerShell to Create Sitefinity Pages

Use PowerShell to Create Sitefinity Pages

3 posts, 0 answered
  1. Tervis
    Tervis avatar
    3 posts
    Registered:
    18 Nov 2008
    05 Mar 2010
    Link to this post
    I would like to use Powershell to script the creation of Sitefinity pages so that I can source control these change scripts and use them when deploying new pages from development to staging and then to production.

    I know Powershell can instantiate .Net objects so there should be some way for me to create the Sitefinity objects I need to accomplish this.

    How can I accomplish this using the Sitefinity API and Powershell?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    07 Mar 2010
    Link to this post
    Hello Chris,

    I suggest that you should use web services to call Sitefinity's classes and methods. You can take a look at

    Creating pages
    Implementing schedules service using web service 

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Matt
    Matt avatar
    1 posts
    Registered:
    23 Aug 2012
    23 Aug 2012
    Link to this post
    Hi Chaps,

    I would urge you to consider creating a Powershell module that would enable integrators and DevOps like myself the ability to work with SiteFinity as part of a build and release pipeline.

    As it stands, I want to change some system settings post-deployment, and I'm faced with the stark choice of hacking the database or attempting to instantiate the SiteFinity assemblies. A simple PowerShell module that allowed me to configure the hosting parameters of the application would be all that I needed. And, FYI, this is something that EPiServer provides.


    Regards,

    Matt
Register for webinar
3 posts, 0 answered