HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


Optimizely Forms is only supported by MVC-based websites and HTML5-compliant browsers.

The `ICustomViewLocation` interface provides paths for searching element block views.

These interface implementations return an array of paths. These paths are used by `Forms.Core` to look up view template for `Blocks`.

`CustomViewLocationBase` is a base implementation (in `Forms.UI`) for this interface, and `FormsViewLocation` is the default implementation in Forms.

Suppose the **Forms.Samples** project has this class. `Forms.Core` looks for `Element` template in _~/Views/Samples/ElementBlocks_ and the default view location of the Samples add-on (in _~\\modules\\\_protected\\EPiServer.Forms.Samples\\Views\\ElementBlocks_).