2

We have upgraded to 2011 SP1 from 5.3, also upgraded to SiteEdit 2009 SP3.

Our content Editor team want all the component list on new SiteEdit UI, which used to be there in old SitEdit.

Please check screen shot

enter image description here

As per Tridion support this particular feature is not supported. Can this feature be provided using Tridion GUI extensions? Or do I have to create some browser extension to regex the source for component-id to support it.

10
  • Are you using SiteEdit 2009 SP3 or the User Interface update for SDL Tridion 2011 SP1 (aka UI 2012, the new SiteEdit)? I think both are possible for 2011 SP1, but they have a complete different extension model. Commented Jul 23, 2013 at 16:10
  • I am using SiteEdit2009 SP3. Do SDL LiveContent have some material on it?
    – Raj Kumar
    Commented Jul 23, 2013 at 16:12
  • 3
    SiteEdit 2009 SP3 is definitely listed in the documentation portal, if extensions on it are mentioned in there too I don't know (they are possible but I can't remember the exact supported level of them). In any case, I can only recommend that you ditch the old SiteEdit and use the User Interface update for SDL Tridion 2011 SP1 (the new SiteEdit) instead. That has an open extension model and will prepare you more for the future rather then staying stuck in the past (same would count for an upgrade to 2013 by the way, which comes with Experience Manager, which is the new SiteEdit). Commented Jul 23, 2013 at 16:16
  • Right now we are not in the stage to update to 2012 UI update. for now i want know how to extend current SE2009 sp3 UI to achieve mentioned feature.
    – Raj Kumar
    Commented Jul 23, 2013 at 23:24
  • best I can give you then is follow the documentation sdllivecontent.sdl.com/LiveContent/content/en-US/… (requires login) Commented Jul 24, 2013 at 6:32

2 Answers 2

1

Couldn't you template out a list of component IDs being used on the Page. Then you can insert your extension logic to retrieve this value and build the dialog as required?

using System;
using System.Collections.Generic;
using System.Text;
using Tridion.Web.UI;
using Tridion.Web.UI.SiteEdit.Extensions;
using System.Web.UI;

namespace SEExtension
{        public void OnPageLoaded(TridionWebPage page)
        {
        //You use the ExtensionHelper class in the UI Extensions framework to interact with the GUI control framework

        ExtensionHelper.CurrentPage = page;

        // Access to the 'page' object is possible here
        // Get array/collection of Components from Page (output by the template for example)
        // Consider that you may have retrieved Dynamic Component Presentations on this page too - do you want these to be injected into this list of Components? etc.
        /*
        { seExtensionInfo: { 
            pub: 22, 
            components { 
                component: {
                    id: 123, 
                    title: 'comp a'
                },
                component: {
                    id: 456, 
                    title: 'comp b'
                }
            }
        }
        */
        }
}
0

We updated to UI-2012 & created UI extension to achieve this functionality. let me know if anyone need this in their project.

1
  • Hi Raj, perhaps you could share the extension with the Community? that would be great for others that come across this question also. Commented Feb 24, 2014 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.