Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9010425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:27:18+00:00 2026-06-16T02:27:18+00:00

In Sitecore, how would I go about adding a couple of fields to a

  • 0

In Sitecore, how would I go about adding a couple of fields to a rendering (.xslt)?

  • Changing the “template” of the render, makes it so it is no longer a proper rendering.

The goal is to create a rendering, the user can add to a placeholder in the page editor.

Edit:
Currently im trying the same using sublayouts (.ascx)
– The sublayout is of a template of (..sublayout), with a “custom” template added to the “Parameters Template” field.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:27:20+00:00Added an answer on June 16, 2026 at 2:27 am

    Take a look at the Presentation Component XSL Reference on SDN.

    If you are changing the template, you also need to change the rendering control (XSLT or ASCX depending on whether it is a Rendering or a Sublayout) to display the new field you have added to the template.

    For example, if you add a field called “summary” of type “Single Line Text” to the template, then you need to add following to the XSLT

    <sc:text field="summary"/>
    

    Section 4.1 has a list of the different field types.

    If you are using an ascx control then

    <sc:FieldRenderer ID="scSummary" FieldName="Summary" runat="server" />
    

    Just adding the field to the template will not cause it to appear on the site (unless, of course, you coded your rendering/sublayout to do exactly that).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm learning sitecore. I would like to render flash video which should swap between
How can I login programmatically into Sitecore? For example if you would like to
I would like to give my Extranet users access to edit fields in some
I have some XSLT that gets rendered in the Sitecore 6 CMS, but I
I understand the issues with WCF and Sitecore because Sitecore.Context would not be available
I thought it would be Sitecore Client Configuring, but apparently not. EDIT: Following Yan's
In Sitecore when I add items to my Treelist I would like the treelist
I am rather new to Sitecore and would like to know a bit more
I would like to be able to store reusable html-formatted text in Sitecore and
I've been curious about this for a while so I thought I would ask

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.