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

  • SEARCH
  • Home
  • 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 7976417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:54:13+00:00 2026-06-04T08:54:13+00:00

I implemented a ribbon tool bar button for Tridion 2011 SP1, which opens an

  • 0

I implemented a ribbon tool bar button for Tridion 2011 SP1, which opens an aspx page and populates a drop down list based on a look-up component. The look-up component comprises of different embedded schemas. To filter out the values based on embedded schema name I need to get the Embedded schema field values of component creation page on button click in button JavaScript.

Because in my component creation page consists of multivalued Embedded schema field has the info, which helps look up value filtering process. I am unaware of the command need to be used for the requirement. I know about a command to get the complete component XML, that is: $display.getView().getItemFields().

To get the present RTF field content I am going for the command: target.editor.getHTML(). To get the complete set of Embedded schema field values only,
which command I need to use?

My sample component source:

<root>
    <a>sample a</a>
    <b>sample b</b>
    <c>
        <ca>ca 1</ca>
        <cb>cb 1</cb>
        <cc>cc 1</cc>
    </c>

    <c>
        <ca>ca 2</ca>
        <cb>cb 2</cb>
        <cc>cc 2</cc>
    </c>

    <c>
        <ca>ca 1</ca>
        <cb>cb 1</cb>
        <cc>cc 1</cc>
    </c>                
</root>
  • 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-04T08:54:15+00:00Added an answer on June 4, 2026 at 8:54 am

    I don’t think there are public API for that. But you could use component data xml and then parse it by yourself:

    var item = $display.getItem();
    var xml = item.getContent(); // OR $display.getView().getItemFields();
    var xmlDoc = $xml.getNewXmlDocument(xml);
    var schema = item.getSchema();
    if(schema.isLoaded())
    {
       var xpath = "/custom:{0}/custom:embeddedFieldName".format(schema.getRootElementName());
       var fields = $xml.selectNodes(xmlDoc, xpath, { custom: schema.getNamespaceUri() });
    
       // loop fields and get values ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I implemented a Ribbon tool bar button in the Tridion. As part of that
I implemented Forms authentication by creating Default.aspx and custom login page named login.aspx .
I have a COM Outlook addin which implements a ribbon button in Outlook 2010.
I implemented a WPF application which use NavigationService to navigate between pages. When I
I implemented my own CMFCToolTipCtrl class in order to modify enhanced tooltip in Ribbon
I implemented 6 months ago in our web application site(Asp.Net) a page where you
I successfully followed the following answer to Add Dropdown Menu to CRM 2011 ribbon
I have a horizontal navigation bar. Each button is a span with a background
I implemented the fairly new Google +1 Button to a site I've developed. It
I implemented a small function, which parses an SQL INSERT statement and highlights a

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.