Takes a lot of time for epi cms resources to load on DXC Service
I have noticed that many times the edit interface is just loading and loading in our customers production environement. I now looked into it and this are a couple of example of what takes time, and I...
View ArticlePropertyDefinitionType and moving code to different assembly (refactoring)
Currently I'm refactoring a framework, which we use here for all our custom developed components on EPI CMS/Commerce. One of the refactorings is splitting up back-end and front-end into two projects,...
View ArticleHow to retrieve the file size of a file in VPP
Hi,I've uploaded a document to the VPP, and I've since linked to it in a page. Im trying to display the file extension and file size next to the link. I've been searching thorugh the forums and the...
View ArticleGet Promotions applied to a lineItem
Hi team, To obtain promotions available for a particular lineItem, we used the following code var allPromotions = promotionEngine.Evaluate(contentLink, currentMarket.GetCurrentMarket(),...
View ArticleDifference between create a new page or copy an existing page
Hi everyone,I'm using the CreatedContent event and trying to check if the created page is a brand new page or just a page created by Copy-Paste of an existing page. How can i spot the difference in...
View ArticleWhat is the static file and media asset cache duration recommended by Episerver?
Internally we have a bit of a debate how long to set our cache headers for static content to. One person wants it to be 7 days, another 30, another a year. We have an internal policy that once images...
View ArticleBoostMatch not working for category
Hi!So we have a recipe search page where an editor can choose e.g. christmas as the active category, and then we want all the recipes that are tagged with the category christmas to show up first.I...
View ArticleToo many exceptions bringing the site down
Hey Guys,Using Commerce 12.17.2 and CMS 11.11.2We have a site hosted on a Azure webapp, the site goes down randomly. Upon looking into Application Insights, I found that there are a lot of exceptions...
View ArticleCustom ContentProvider performance issue
HelloWe're writing a custom ContentProvider to enable editors to reference data from an external system in the page properties.It seems that when there are a lot of child nodes for a content item, then...
View ArticleGet a list of all pages that use a block on live system(without code)
We changed our Link-Block, it's Reference property is now localizable:[CultureSpecific] public virtual Url Reference { get; set; }Until now these links were defined only in the master, they are not...
View ArticleHow to Preview Unpublished Blocks?
Our pages contain a content area that contains a number of blocks, which are then rendered in a list by looping through ContentArea.FilteredItems.When the blocks are all published, this seems to work...
View ArticleList all content that use a block in CMS
I needed to support the customer in a way that he finds untranslated content. So i have asked if it's possible in this thread.There is no way to list it without using code or the database. So in this...
View ArticleBlocks and partials not clickable in contentarea, how do i solve this?
I've been been creating a website by implementing stuff from Alloy, but i'm not sure why this isn't working.When i create blocks and put them in my content area, they're not clickable. I've got this...
View ArticleEpiserver Forms - add Css class field to base form element
Currently there's no way to customize look and feel of single form element.It would be nice to have a text field to input css class which will be rendered when rendering form element so we can do css...
View ArticleAlternate to EPDataFactory
Hi,I am using the below in episerver 6 R2 , to get page data PageData page = Global.EPDataFactory.GetPage(new PageReference(ErrorPageID));What class i can use in Episerver 7 , as EPDataFactory is no...
View ArticleSet Default Value based on other property
Hello,In my page type, I have two fields Theme and BrandingI want to set value of Branding based on Theme on Content Creation.I am trying to do this in SetDefaultValues method but it's not workingAny...
View ArticleAfter publishing page, blocks not preview in edit view
In EPI Server CMS, I have managed the content area through the cascading feature (which is custom). If the user edits the top-level page and placed the blocks on the top page then it automatically...
View ArticleHelper text not showing for blocks properties when creating a block from a...
When I create a new block from the block tree dropdown -> New Block i see the helper text. But when creating new block type from one of the Content Areas -> Create new block link, I do not see...
View ArticleEpiserver commerce catalog not loading in Url property
Hey all, I am having an issue where the catalog is greyed out and wont load when trying to add catalog content to a EPiServer.Url property. However we can see the full catalog in the cms and that loads...
View ArticleAlternative to PageSaveDB class
Hi,Any idea how can i initialize the below code in episerver 7PageSaveDB db = new PageSaveDB();I checked ContentSaveDB constructor , but where to get all the parametersRegardsD
View Article