title: Sitecore MVC Standard Rendering Parameters
body: <p>I want to user be able to select background-color using a drop-down list</p>
  
  <p>I've created a new template which inherits from Standard Rendering Parameters as base template and standard value has $name token</p>
  
  <p>Here is template Color definition:<br>
  ColorName---DropLink---/sitecore/content/Home/Global/Colors</p>
  
  <pre><code>    [SitecoreType(TemplateId = "{55DB8F6A-807D-48F8-A3D1-D81037938F13}", AutoMap = true)]
  public interface IColor:IContentBase
  {
      string ColorName { get; set; }
  }
  </code></pre>
  
  <p>I also have created multiple instances of template (Red,Blue,Green)</p>
  
  <p><a href="https://i.stack.imgur.com/6YAwR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6YAwR.jpg" alt="enter image description here"></a></p>
  
  <p>Then I assign Color template to a ViewRendering as parameter.</p>
  
  <p><a href="https://i.stack.imgur.com/QAHnH.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QAHnH.jpg" alt="enter image description here"></a></p>
  
  <p>Finally, in cshtml file, I try to read this parameter</p>
  
  <pre><code>@using Glass.Mapper.Sc 
  @model INews
  
  &lt;H3&gt; Hot News: &lt;/H3&gt;
  @{
      var rendering = RenderingContext.Current.Rendering;
      string id = rendering.Parameters["ColorName"];
      var context = new SitecoreContext();
     var result=context.GetItem&lt;IColor&gt;(new Guid(id));
  
  }
  
  &lt;div style="background-color: @NewsRepository.GetBackgroundColor(rendering);" class="panel-body"&gt;
      &lt;br/&gt;
      &lt;span&gt;@result.ColorName&lt;/span&gt;&lt;br/&gt;
      @Model.Title
  &lt;/div&gt;
  </code></pre>
  
  <p>The result is always {55DB8F6A-807D-48F8-A3D1-D81037938F13} whereas I expect "Green". Also tried to use Sitecore APIs instaed of GlassMapper but still I get Guid .</p>