Setting CMS content for custom URL
Hi, I have a question related to custom URLs that I want to have a content. Basically, for pages in CMS, we extend PageController<TPage> where TPage : PageDataThen the said page comes to a...
View ArticleCommerce Custom Donation Amount
Hello,I am buildling a shopping cart for the charity organization and need some help with what will be the best practice to implement a donation feature in Commerce. So, basically when customer...
View ArticleMigrating Page,Block and Media-Models to a multisite solution.
Hello,Currently at the start of a project where we want to migrate a stand-alone episerver site (source-project) into a multisite solution (target-project). Now the source and the target-project have a...
View ArticleCommerce Import XML uses the wrong CatalogID
Hello,I'm having a very ugly situation and I cannot find any kind of clue where the issue might be.In few simple words, I'm trying to import a very basic XML having this structure:<Catalogs...
View ArticleLanguage routing
I have a multilingual CMS12 site which has a URL structure that contains the country and language in the path, and this is mapped to one global domain like so:example.com/gb/es/about→ GB country with...
View ArticleMigrate, set property value in BlockBase to true
Having implemented a property late in project, the default value should be True which is not the case atm. Would a migration step or a scheduled job (using Episerver.Find to find all blocks inheriting...
View ArticleCMS login is not working
Hello,We recently upgraded CMS version 9.9.1 to 11.20.7 and we are not able to login CMS. We are using webforms. What we are trying is to hit localhost/util/login.aspx and enter username and password....
View ArticleRazor pages for commerce
Hi, I am having trouble creating a razor page for commerce content. I have this generic product:[CatalogContentType( DisplayName = "GenericProduct", GUID = "d0330f27-9343-48b6-b15b-393a8405f5cc",...
View ArticleField dependencies not working correctly v4.31.0
I have a text field set up which has a dependency of Shown on all if a selection field above is set to option 2 which doesn't render if i go and select option 2. If i go into the CMS and set option 2...
View ArticleLimit block types that can be added to a XHtmlString field
Hi, Does anyone know if it's possible to limit the block types that can be added to a tinymce/rich text field in Opti CMS? There is a requirement to only allow two types of blocks in the field.Thanks...
View ArticleProgramatically Adding [CultureSpecific] Attribute Wipes Away Content Value
Hi all,I am working with a custom block that has a URL Link property under it. The site I am working with is in both English and Spanish. Currently the link is editable in English but not in Spanish as...
View Articlethumbnails on ImageProperty with PDF and Videos
Latest CMS 12Does anyone now if it is possible to add thumbnail instead of icon in the UIHint.Image property? when it is not an image (pdf or video)Is that done by adding an image in thumbnail blob on...
View ArticleProgrammatically creating pages in multiple languages
Hello all.I wrote a scheduled job that creates and updates pages from an external data source. Until now, only "en"/default lanugage content was needed. I need to support additional languages now,...
View ArticleHow to install Service API for Commerce 14? Updated documentation?
Hi forumI'm trying to install Service API on a new Commerce 14 installation. One should think it would be easy just to follow this guide:...
View ArticleHow to boost result based on the volume/frequency of keywords in the whole...
Hi Everyone, We have got a scenario in which we need to we need to boost the document score based on the number of times the keyword is occurring in the document. Suppose if we have got 2 document A...
View ArticleHow to migrate contents between environments
We stumble upon this question during discovery session with a customer.How to migrate contents between environments. The problem is we have DEV, UAT, and PRODUCTION environment, how do we make sure...
View ArticleContentSelector in custom tools in Admin
I am converting a CMS 11 to CMS 12 and there is a custom admin tool that had a content picker enabling the user to select a page or starting node. In CMS 11 that was pretty easy, but in CMS 12 I have...
View ArticleVue devtools extention and chrome with CMS
I have a problem when using Vue Devtools extension in chrome with Optimizely CMS. Most of the times the Dojo gets injected in the HTML element instead of inside the <head> element and prevents...
View ArticlePromotions - Dynamic discount on items within the same Promotion
Hi there! We are dealing with a business scenario for which we are trying to find a solution.Let's work with the following assumptions:We have 3 ItemsItem 100101Weight 2 lbPrice $ 10Item 100102Weight...
View ArticleHow to get occurences of a word from page in CMS
I need to sort the search results based on the occurrence of the keyword. Once we get the result from executing the query, the idea is to get the occurence from the content of the results hits, and...
View Article