smithsson68@gmail.com
Dec 5, 2008
  9277
(0 votes)

New Install Public Templates PowerShell script for EPiServer CMS R2

Those of you who have used the new Installation Manager in EPiServer CMS 5 R2 to install a site with the EPiServer Public Templates may have noticed an annoying "feature". The feature is that is doesn't update the PublicTemplates.proj file installed on the site with the URL you chose for the site. This means that when you open the project in Visual Studio you need to remember to update the URL in the project properties in order to use F5 debugging. The root cause of this is basically because the proj file is not in place when you think it is and therefore cannot be updated. The problem is described in more detail here.

Anyway, the problem is fixed in the next version of the Installation Manager (which has been renamed to Deployment Center, more of that to come soon), which will soon be released with our exciting new Relate+ product and the next version of the EPiServer Community product.

Here you will find a new version of the Public Templates PowerShell script for CMS R2 that updates the proj file with the site URL. All you need to do is download it and replace the existing one in your Program Files\EPiServer\CMS\5.2.375.7\Install\Modules\PublicTemplates folder. It's probably a good idea to copy the old one out first, just in case you need to revert back to it anytime.

Dec 05, 2008

Comments

Please login to comment.
Latest blogs
Creating an Optimizely CMS Addon - Adding an Editor Interface Gadget

In   Part One   of this series, I covered getting started with creating your own AddOn for Optimizely CMS 12. This covered what I consider to be an...

Mark Stott | Aug 30, 2024

Configure your own Search & Navigation timeouts

The main blog Configure your own Search & Navigation timeouts was posted for years but you need copy the code to your application. We now bring tho...

Manh Nguyen | Aug 30, 2024

Joining the Optimizely MVP Program

Andy Blyth has been honoured as an Optimizely MVP, recognising his contributions to the Optimizely community. Learn how this achievement will enhan...

Andy Blyth | Aug 29, 2024 | Syndicated blog

Welcome 2024 Summer OMVPs

Hello, Optimizely community! We are thrilled to announce and welcome the newest members to the Optimizely Most Valuable Professionals (OMVP) progra...

Patrick Lam | Aug 29, 2024