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


The Optimizely Content Management System (CMS) extension of the `IFrameComponent` has the following additional parameters:

  • `UrlFromUtil` – Optional. The URL to the source, relative the Utils folder. Used instead of `Url` property.

  • `UrlFromUi` – Optional. The URL to the source, relative the UI folder. Used instead of `Url` property.

### Create MVC component

First you need to add a `Controller` which has to be annotated with an `IframeComponent` attribute.



Then add a _Index.cshtml_ view to the _Views/HelloWorld_ directory: