Quantcast
Channel: Developer to developer
Browsing all 9076 articles
Browse latest View live

Alternate 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 Article


Episerver 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 Article


Set 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 Article

After 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 Article

Helper 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 Article


Image may be NSFW.
Clik here to view.

Episerver 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 Article

Alternative 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

Accessing the ~/modules folder in Azure

Hi!We have build a plugin to Episerver where we put views, js and css in the ~/modules/MyPlugin/ and it works just fine local and on a normal server. But when we deploy to Azure we get this...

View Article


Unique email

Hi!Is it possible to make the email field for an episerver user unique, to avoid users with duplicate emails? Or do we have to create custom logic around this?This question applies both to aspnet...

View Article


VPP migration tool error

We need to migrate lots of images from our old site in EPiServer CMS 7.1 to our new site in EPiServer CMS 7.5. When connecting to our old site using the VPP migration tool I encounter an error: Object...

View Article

Login posts user name and password as clear text

When using standard Episerver CMS login, the password and user name is posted as clear text.To reproduce...Open Chrome and whip out Developer Tools and select the Network tab. Check Preserve log.Open...

View Article

How to migrate Files and images from Episerver 6 R2 to Episerver 7.0.586.1...

Hi,I am trying to migrate files and images from episerver 6 r2 to Episerver 7.0.586 , via Migration tool , but getting the error as belowObject reference not set to an instance of an object.at...

View Article

Can i apply best bets to items that don't exist in the cms?

Hi,I have a search page on a site i am working on that runs a typed search for a type of object i have cerated that is not content of the site. Is there a way to create best bets for this content? I...

View Article


Is it possible to have multiple epi Find synonyms and best bets for different...

Hi,I am working on an episerver website that has both a site search that uses unified search and another more specific search page that just returns items of a particluar object type that uses a typed...

View Article

Forward slash in Product Code

Some of our products have forward slashes in the SKU and we are using the product SKU as the product “Code” in the Episerver catalog.  We're having a problem with this because we cannot access products...

View Article


Filtering on nested objects/properties

Hi,I have problem where I need to be able to filter on properties on subpages but return the parent page from FIND. I thought that I could use nested queries for this but i does not seem to work.Page...

View Article

Discount is not getting applied to price properties

Hi,In a Commerce 11.8.5 project we have a custom FixedPrice promotion.After orderGRoup.ApplyDiscounts() I can see the applied promo in orderGroup.Promotions, but lineItem.TryGetDiscountValue(d =>...

View Article


Image may be NSFW.
Clik here to view.

Remove item from tab in content editor

Hi,Not sure if this is strictly a Commerce quesiton as it's in the content editing section of the Catalog, but here goes:I want to remove one of the 'tabs' in the content editor window for catalog...

View Article

Issue with cache dependency

I am using the following code to cache the model of a block: _objectInstanceCache.Insert(cacheKey, model, new CacheEvictionPolicy(new TimeSpan(1, 0, 0), CacheTimeoutType.Absolute));This works as...

View Article

Image may be NSFW.
Clik here to view.

Get 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 Article
Browsing all 9076 articles
Browse latest View live