<?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 FernandoNunes</title> <link>https://world.optimizely.com/blogs/fernandonunes/</link><description></description><ttl>60</ttl><generator>Optimizely World</generator><item> <title>Change Order Number generator</title>            <link>http://episerveradventures.com/?p=254</link>            <description>By default, the orders numbers are generated by an instance of EPiServer.Commerce.Order.IOrderNumberGenerator. The default number generation is: So, to change this, first we need to inject a custom implementation and remove the default one. On an initialization module that depends on EPiServer.Web.InitializationModule have the following: And my custom order generator, can be like this:</description>            <guid>http://episerveradventures.com/?p=254</guid>            <pubDate>Mon, 01 Feb 2021 11:29:17 GMT</pubDate>           <category>Blog post</category></item><item> <title>Add migration step with sql script</title>            <link>http://episerveradventures.com/?p=238</link>            <description>Scenario: Wanted to add a new schema, table and stored procedure to the same database where CMS is installed. The script should run only once after deployment to an environment. Using IMigrationSet can do this job, although is different from a Initialization Module that run every time the site starts up. Interface IMigrationStep documentation: https://world.episerver.com/csclasslibraries/commerce/EPiServer.Commerce.Internal.Migration.Steps.IMigrationStep?version=13&lt;a class=&quot;more-link&quot; href=&quot;https://episerveradventures.com/2020/11/02/add-migration-step-with-sql-script/&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;&quot;Add migration step with sql&amp;#160;script&quot;&lt;/span&gt;&lt;/a&gt;</description>            <guid>http://episerveradventures.com/?p=238</guid>            <pubDate>Mon, 02 Nov 2020 23:02:47 GMT</pubDate>           <category>Blog post</category></item><item> <title>Missing &quot;For all sites&quot; folder</title>            <link>http://episerveradventures.com/?p=231</link>            <description>Even with access rights correctly in place, the &amp;#8220;For all sites&amp;#8221; folder did not appear. So, went to the Website settings at Admin, and remove the check on &amp;#8220;Use site-specifics assets&amp;#8221;, save and recheck again to true. It worked for me, and the images appeared again &#128521;</description>            <guid>http://episerveradventures.com/?p=231</guid>            <pubDate>Thu, 24 Sep 2020 15:01:28 GMT</pubDate>           <category>Blog post</category></item><item> <title>Download images from assets from HTML Anchor tag</title>            <link>http://episerveradventures.wordpress.com/?p=224</link>            <description>Suppose the front end code wants supply a way to download images from the assets folder. Consider the following code: Assuming that 127.0.0.1:5500 is your EPiServer instance, you can say that the image will be downloaded. Note that download anchor attribute will work if the url is from the same origin of the http request.&lt;a class=&quot;more-link&quot; href=&quot;https://episerveradventures.com/2020/09/02/download-images-from-assets-from-html-anchor-tag/&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;&quot;Download images from assets from HTML Anchor&amp;#160;tag&quot;&lt;/span&gt;&lt;/a&gt;</description>            <guid>http://episerveradventures.wordpress.com/?p=224</guid>            <pubDate>Wed, 02 Sep 2020 14:02:54 GMT</pubDate>           <category>Blog post</category></item><item> <title>CMS New Page context menu not enabled</title>            <link>http://episerveradventures.wordpress.com/?p=212</link>            <description>Creating a new page under root&amp;#8217;s page site, the New Page menu was disabled. So, checked the available languages for the site and the master language was not set: Checked the English language and also check the language setting for the root page site. And now, the New Page was available.</description>            <guid>http://episerveradventures.wordpress.com/?p=212</guid>            <pubDate>Fri, 17 Apr 2020 12:36:37 GMT</pubDate>           <category>Blog post</category></item><item> <title>Missing Group on &amp;#8220;Set Access Rights for &amp;#8216;Page&amp;#039;&amp;#8221;</title>            <link>http://episerveradventures.wordpress.com/?p=205</link>            <description>Context: Episerver authentication integrated with Azure Active Directory B2C; A fresh installation of Episerver; Virtual roles configured to map Roles configured on AD; Logged only with an account that was mapped for a AD role named &amp;#8216;SpecialMegaRole&amp;#8217; &#128521; Another virtual role was mapped for an AD role named &amp;#8216;NotSoSpecialRole&amp;#8217; Objective : Set the access rights&lt;a class=&quot;more-link&quot; href=&quot;https://episerveradventures.wordpress.com/2020/04/17/missing-group-on-set-access-rights-for-page/&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;&quot;Missing Group on &amp;#8220;Set Access Rights for &amp;#8216;Page&#39;&amp;#8221;&quot;&lt;/span&gt;&lt;/a&gt;</description>            <guid>http://episerveradventures.wordpress.com/?p=205</guid>            <pubDate>Fri, 17 Apr 2020 08:56:55 GMT</pubDate>           <category>Blog post</category></item><item> <title>Add Metafields to OrderSummary view</title>            <link>http://episerveradventures.wordpress.com/?p=184</link>            <description>I need to add extra information on each LineItem of the order. But also to see it on the OrderSummary view on the Commerce UI. Please comment if i can implement a better solution than following approach, because i thought that it could be a fast solution by changing the xml file were we define&lt;a class=&quot;more-link&quot; href=&quot;https://episerveradventures.wordpress.com/2020/01/23/add-metafields-to-ordersummary-view/&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;&quot;Add Metafields to OrderSummary&amp;#160;view&quot;&lt;/span&gt;&lt;/a&gt;</description>            <guid>http://episerveradventures.wordpress.com/?p=184</guid>            <pubDate>Thu, 23 Jan 2020 11:00:43 GMT</pubDate>           <category>Blog post</category></item><item> <title>Add Metafields to OrderSummary view</title>            <link>http://episerveradventures.wordpress.com/?p=184</link>            <description>I need to add extra information on each LineItem of the order. But also to see it on the OrderSummary view on the Commerce UI. Please comment if i can implement a better solution than following approach, because i thought that it could be a fast solution by changing the xml file were we define&lt;a class=&quot;more-link&quot; href=&quot;https://episerveradventures.wordpress.com/2020/01/23/add-metafields-to-ordersummary-view/&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;&quot;Add Metafields to OrderSummary&amp;#160;view&quot;&lt;/span&gt;&lt;/a&gt;</description>            <guid>http://episerveradventures.wordpress.com/?p=184</guid>            <pubDate>Thu, 23 Jan 2020 11:00:43 GMT</pubDate>           <category>Blog post</category></item><item> <title>The view &#39;index&#39; or its master was not found or no view engine supports the searched locations. From IISExpress to IIS</title>            <link>http://episerveradventures.wordpress.com/?p=162</link>            <description>Consider the following scenario: Developing with debug compilation and using IIS Express. Everything works fine without license. Episerver allows development under those circumstances. But if you deploy to a new IIS site or even to Azure web app and you set compilation without debug, because you probably published with Release configuration: The site will show [&amp;#8230;]</description>            <guid>http://episerveradventures.wordpress.com/?p=162</guid>            <pubDate>Fri, 25 Oct 2019 00:22:48 GMT</pubDate>           <category>Blog post</category></item><item> <title>Start from empty folder to a running Episerver CMS and ECommerce</title>            <link>http://episerveradventures.wordpress.com/?p=70</link>            <description>Assumptions: this post was written at 23/10/2019 with Visual Studio 2019 and Episerver CMS Visual Studio Extension version 11.5.0.412. The idea is to create a running empty site with CMS and ECommerce. Ensure that you have Episerer nuget feed configure to https://nuget.episerver.com/feed/packages.svc/ Lets create a new empty Episerver CMS site: With this we start to [&amp;#8230;]</description>            <guid>http://episerveradventures.wordpress.com/?p=70</guid>            <pubDate>Thu, 24 Oct 2019 13:38:17 GMT</pubDate>           <category>Blog post</category></item><item> <title>Setting icons for content types</title>            <link>http://episerveradventures.wordpress.com/?p=63</link>            <description>When creating new types instances, such as pages or blocks, we get a lot of help from the CMS UI identifying which type we want. But, to offer better experience to the editors, it would be much nice that these types could be present with an image. Episerver recomend 120&amp;#215;90 dimention for each icon, but [&amp;#8230;]</description>            <guid>http://episerveradventures.wordpress.com/?p=63</guid>            <pubDate>Tue, 01 Oct 2019 13:13:14 GMT</pubDate>           <category>Blog post</category></item><item> <title>Sharing properties between content types, and action methods between controllers</title>            <link>http://episerveradventures.wordpress.com/?p=47</link>            <description>It is a good idea to provide derived types from the Episerver content types PageData, BlockData and MediaData to share common properties among all the pages on the site. We should also consider to use that also on the controllers. Considering the class diagram: We can start to implement the Base[Classes] and Standard and Start [&amp;#8230;]</description>            <guid>http://episerveradventures.wordpress.com/?p=47</guid>            <pubDate>Mon, 30 Sep 2019 11:25:34 GMT</pubDate>           <category>Blog post</category></item><item> <title>Update an existing page property</title>            <link>http://episerveradventures.wordpress.com/?p=41</link>            <description>Using methods from IContentLoader or IContentRepository to get existing data, it will be returned as read-only version. If you try to update and save it, you will get a ReadOnly exception, although the model has the public set available Since the API assume that most of the time are read operations, than it shares the [&amp;#8230;]</description>            <guid>http://episerveradventures.wordpress.com/?p=41</guid>            <pubDate>Tue, 24 Sep 2019 17:54:01 GMT</pubDate>           <category>Blog post</category></item><item> <title>Add Episerver site from scratch</title>            <link>http://episerveradventures.wordpress.com/?p=18</link>            <description>Settings: Visual studio 2019 Version 16.1.3 Episerver CMS Visual Studio Extension Installed 11.6.0.421 Episerver NuGets package source configure to https://nuget.episerver.com/feed/packages.svc/ Open Visual Studio and create a new Episerver project. Select Empty Project After press OK, you will have a new solution with a web project on it. The connection string to a database is set [&amp;#8230;]</description>            <guid>http://episerveradventures.wordpress.com/?p=18</guid>            <pubDate>Tue, 24 Sep 2019 10:19:09 GMT</pubDate>           <category>Blog post</category></item><item> <title>Default Schedule jobs from empty Episerver Visual Studio Project</title>            <link>http://episerveradventures.com/?p=46</link>            <description>After creating the project with Empty Episerver site using Episerver CMS Visual Studio Extension version 11.4.0.370, updated the EPiServer.CMS Nuget packages to version 11.10.1 and checked the default schedule jobs that were defined: The default scheduled jobs that are out of the box and their configuration are: Link Validation (Inactive) Checks links on the website &amp;#8230; &lt;p&gt;&lt;a href=&quot;https://episerveradventures.com/2018/09/20/default-schedule-jobs-from-empty-episerver-visual-studio-project/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Default Schedule jobs from empty Episerver Visual Studio&amp;#160;Project&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>            <guid>http://episerveradventures.com/?p=46</guid>            <pubDate>Thu, 20 Sep 2018 14:23:48 GMT</pubDate>           <category>Blog post</category></item><item> <title>Missing Geographic Coordinate and Location</title>            <link>http://fernandonunesepiserver.wordpress.com/?p=28</link>            <description>During Bootcamp exercise A4, is demanded to create a new Visitor Group for personalization. But the Geographic Location was not present. Only Time of Day was present. EPiServer.GoogleAnalytics add-on was not installed or configured. So, checked the settings for GoogleAnalytics and also not present. To have it available on Tools Settings, i have added thought &amp;#8230; &lt;a href=&quot;https://fernandonunesepiserver.wordpress.com/2018/09/18/missing-geographic-coordinate-and-location/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Missing Geographic Coordinate and&amp;#160;Location&lt;/span&gt;&lt;/a&gt;</description>            <guid>http://fernandonunesepiserver.wordpress.com/?p=28</guid>            <pubDate>Tue, 18 Sep 2018 15:57:04 GMT</pubDate>           <category>Blog post</category></item><item> <title>Episerver CMS Bootcamp</title>            <link>http://fernandonunesepiserver.wordpress.com/?p=3</link>            <description>Hi all, at 17/09/2018 I started Episerver CMS Bootcamp online. This blog will serve to write all the difficulties that i had and what were their solutions. Disclaimer. The logo image of this blog is the Episerver logo and not my creation.</description>            <guid>http://fernandonunesepiserver.wordpress.com/?p=3</guid>            <pubDate>Tue, 18 Sep 2018 11:19:35 GMT</pubDate>           <category>Blog post</category></item></channel>
</rss>