Allowing/restricting content types dynamically?
It's fairly straightforward to allow/restrcict certain content types to be added to content area through attributes.Is is it possible to control allowed/restricted content types dynamically, for...
View ArticleHow to read the block type placed in the ContentArea
I have a block and ContentArea property like below:public class QuestionnaireBlock : BlockBase{[CultureSpecific][Display(Name = "Questions Content Area", GroupName = PropertyGroupNames.Content, Order =...
View ArticleHow to randomly select/pick any random item from ContentArea in Episerver
I have added a number of blocks as contentArea Items in a ContentArea property.I need to randomly pick a contentarea item and display it.I don't want it in the order its mentioned in the...
View Articlehow to increase Remaining Url length of Episerver URL link type
Hi there,I have tried all the below solutions I found on EPi forums.Also tried adding a custom backing type and still the max length of characters I can put in the Remaining Url field of Episerver Url...
View ArticlePartialRouteData not mapping to atual path of the content media
I am trying to make shorter URL for my file in EpiServerJust want to use the URL ../ file/filename.I have implemented using Partial Route Data by implementing IPartialRouter interfacereturn new...
View ArticleIn-Memory OLTP in DXP Database
Hello,I'd like to know if it is possible to use In-Memory OLTP in DXP Database. I'd like to use it to store my user's state information.
View ArticleCustomt payment in new Order Management
In the new GUI for order management (beta) there is an option to "Accept payment" for an order. This opens two dropdown lists: one for the billing address and one for payment method. It is the latter i...
View ArticleHow to provide headings in between a set of properties?
I want to provide headings for a set of properties present in a single tab.How to do that?
View ArticleUpdate Expiration date programatically
I have a need to create a scheduled job that updates expiry date on contents by certain duration. I created the job and below is the code that I have for updating the expiry date.(pageToUpdate as...
View ArticleKeep getting this error when we try to export the site "Can't export package...
Any Ideas on what is causing this error to popup? this keeps happening on multiple block types, below is an error on one of them....The following errors have occurred:[Exporting content 11563]...
View ArticleSet shipping cost to 0 and override selected method price
Hi!Is there any way to set the shipping cost on an order? I the user clicks a checkbox all shippingmethods should get the price 0 and when validating the order it should stay 0 and not be calculated...
View ArticleA/B testing add-on and GDPR cookie compliance
Hi,We are trying to become compliant with the GDPR cookie legislation that states that any none-essential cookies are not set until a user explicitly accepts them.We use the A/B testing add on, is...
View ArticleConditional properties within block
It would be very nice if you could conditional logic to ask for properties in a block. For example, we have a teaser block. You can choose between three options: load all children from a specific page...
View ArticleHow to extend Fileupload dialog with required description
Hi!I have a case where my customer needs to have required description on each image uploaded to episerver. We have extended ImageData and added a description field on this where the editor add the...
View Article(400) Bad Request returned for nested query
Hello,I'm trying to make working query with sorting by nested object.I have the following extension method:public static IEnumerable<CategorySortOrder> CategoriesSortOrder(this ProductContent...
View Article[Help] Updating targetFramework to 4.7.2
Hi All,I'm trying to update our existing site's target framework from 4.6.1 to 4.7.2.Should be simple right? Following swapcode's instructions I change the target framework, reinstall packages, clean...
View ArticleInitialize action failed for...
I am very new to Episerver. Went through the readme in https://github.com/episerver/FoundationInstallation went through fine. I can compile the solution without any error. I tried to load...
View ArticleError publishing content from schedule job +...
I have a scheduled job that updates expiration dates on content items. While the job seems to be fine and is updating the expiration date and is publishing the content.However I see this error in the...
View ArticleUnifiedSearchFor does not return results for anonymous user
I have a weird issue where executing a search using the extension method UnifiedSearchFor returns no results. However, if I'm logged into the CMS and then perform a site search in a separate browser...
View ArticleSearches without relevant hits in statistics always show CTR 0%
I have tried searching, implementing various tips, but to no avail, so no I thought I'd try to create my own thread. As the headline says, even though I search, and click on the results I get, i always...
View Article