<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><language>en</language><title>Blog posts by Per Gunsarfs</title> <link>https://world.optimizely.com/blogs/Per-Gunsarfs/</link><description></description><ttl>60</ttl><generator>Optimizely World</generator><item> <title>Developer News in Episerver Commerce presentation at Ascend</title>            <link>https://world.optimizely.com/blogs/Per-Gunsarfs/Dates/2018/5/developer-news-in-episerver-commerce-presentation-at-ascend/</link>            <description>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;During the Ascend event in Las Vegas, London and Stockholm I held a presentation about&amp;nbsp;news in Episerver Commerce. I talked about new features we have been releasing during 2018 so far, and some things we are currently working on right now.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Executive summary&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;New features&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Access rights for catalog content&lt;/li&gt;
&lt;li&gt;Complete order abstractions&lt;/li&gt;
&lt;li&gt;Improved tax handling&lt;/li&gt;
&lt;li&gt;More performant calculators&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In progress&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Future: Improvements to order handling&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For anyone who attended the talks that want a copy of the slides, you can get them &lt;a href=&quot;https://drive.google.com/file/d/15jrIi2GU4tNNS--wh-TiHW9A7wpN9FPR/view&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</description>            <guid>https://world.optimizely.com/blogs/Per-Gunsarfs/Dates/2018/5/developer-news-in-episerver-commerce-presentation-at-ascend/</guid>            <pubDate>Wed, 30 May 2018 11:46:35 GMT</pubDate>           <category>Blog post</category></item><item> <title>Placeholder text for property editors</title>            <link>https://world.optimizely.com/blogs/Per-Gunsarfs/Dates/2015/9/placeholder-text-for-property-editors/</link>            <description>&lt;p&gt;Last week I ran into a (slightly hidden) feature in EPiServer that I think could be quite useful in many scenarios. So let&#39;s share it!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I found it that it&#39;s possible to add placeholder/watermark text to the property editors. That is accomplished by setting the &quot;Promt&quot; property on the &quot;Display&quot; attribute for the property. So this code:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;[Display(Prompt = &quot;Enter title here&quot;)]&lt;br /&gt;&amp;nbsp;public virtual string Title { get; set; }&lt;/p&gt;
&lt;p&gt;Would generate this:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;/link/e2410c0440744bffbf4791c846484dba.aspx&quot; height=&quot;39&quot; width=&quot;387&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The caveat to all this is that it will only work for &quot;simple&quot; property editors. I tested it on basic textboxes and date selectors, and it worked great. However, for more complex ones, e.g. a content area editor, the placeholder text will not be shown.&lt;/p&gt;</description>            <guid>https://world.optimizely.com/blogs/Per-Gunsarfs/Dates/2015/9/placeholder-text-for-property-editors/</guid>            <pubDate>Mon, 21 Sep 2015 10:01:53 GMT</pubDate>           <category>Blog post</category></item><item> <title>How to set up an empty CMS site with MVC support</title>            <link>https://world.optimizely.com/blogs/Per-Gunsarfs/Dates/2012/8/How-to-set-up-an-empty-CMS-site-with-MVC-support/</link>            <description>&lt;p&gt;I got a question regarding the MVC support in the EPiServer 7 Preview. How would you go about setting up an empty CMS site with MVC support?&lt;/p&gt;  &lt;p&gt;If you install a site with the Alloy Tech templates, there is a zip module that adds MVC samples to the site. But what if you want to build MVC templates, but not install the Alloy Tech templates? I.e. have an empty site but with MVC tooling support. Here is what I did in order to get an empty MVC 4 project working with the EPiServer 7 Preview.&lt;/p&gt;  &lt;p&gt;1. Install an empty CMS site using EPiServer Deployment Center.&lt;/p&gt;  &lt;p&gt;2. Create a new ASP.NET MCP 4 Web Application, and choose the empty template.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;/link/10315b1456e242ada760e1cc2192b800.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;CreateMVC&quot; border=&quot;0&quot; alt=&quot;CreateMVC&quot; src=&quot;/link/ee480794d1b141c888c6e968e9f5fa7e.png&quot; width=&quot;500&quot; height=&quot;310&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3. Copy the content of the folder containing the MVC project, i.e. the folder where the .csproj file resides. Skip the web.config files, global.ascx and global.ascx.cs. Paste the content in the site folder installed in step 1. I.e. the folder containing all the site files.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;/link/b2e7c97b38a843fc9f7b4e5f8d411cf7.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;MvcFiles&quot; border=&quot;0&quot; alt=&quot;MvcFiles&quot; src=&quot;/link/8ce11c2bc9024b8b9c3378fbfb1665fa.png&quot; width=&quot;161&quot; height=&quot;310&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4. In the parent folder of the MVC files there is a folder called packages. Copy that to the parent folder of the site files. This is needed in order to keep the references in the .csproj file intact.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;/link/c5f3b413424144338b99f6cf3c28ffad.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;Packages&quot; border=&quot;0&quot; alt=&quot;Packages&quot; src=&quot;/link/faf58b94a1724d44b85090ff2902a136.png&quot; width=&quot;193&quot; height=&quot;134&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;5. Open the .csproj file and you’ll notice that the files global.ascx.cs, web.debug.config and web.release.config are missing. Just delete those references from the project.&lt;/p&gt;  &lt;p&gt;6. Add any needed references to EPiServer assemblies. For a basic MVC template you will at least need EPiServer.dll, EPiServer.Data and EPiServer.BaseLibrary.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The project should now compile and now you can add your page types and templates. After doing so you will want to go to the UI and create a page. But since this an empty site it might not be obvious how to create the first page. Here is a short guide on how you could accomplish that.&lt;/p&gt;  &lt;p&gt;1. Set pageStartId = 1 in episerver.config. The root page of the site is now your start page.&lt;/p&gt;  &lt;p&gt;2. Go to edit, which can be found at &lt;a title=&quot;http://mysite/uipath/modules/cms/home&quot; href=&quot;http://{mysite}/{uipath}/modules/cms/home&quot;&gt;http://{mysite}/{uipath}/modules/cms/home&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;3. Create a new page under the root page. This will be your new start page.&lt;/p&gt;  &lt;p&gt;4. Set pageStartId = 4(the id of the new page) in episerver.config.&lt;/p&gt;  &lt;p&gt;You should now have a fully armed and operational CMS site.&lt;/p&gt;</description>            <guid>https://world.optimizely.com/blogs/Per-Gunsarfs/Dates/2012/8/How-to-set-up-an-empty-CMS-site-with-MVC-support/</guid>            <pubDate>Fri, 17 Aug 2012 15:02:54 GMT</pubDate>           <category>Blog post</category></item></channel>
</rss>