Custom tab for page propertis- basic in sidekick

Anybody knows how to customize the page properties tab in sidekick based on the template..

See example under /libs/foundation/components/page. In this case you have to create a template that will extend  /libs/foundation/components/page in resourceType section this template is pointing to. Your main component will have dialog that will override page properties. For example something like this
<items jcr:primaryType="cq:WidgetCollection"> 
<tabs jcr:primaryType="cq:TabPanel"> 
<items jcr:primaryType="cq:WidgetCollection"> 
<advanced jcr:primaryType="cq:Widget" path="/libs/foundation/components/page/basePage/tab_advanced.infinity.json" xtype="cqinclude"/>
<basic jcr:primaryType="cq:Widget" path="/libs/foundation/components/page/basePage/tab_basic.infinity.json" xtype="cqinclude"/>
<bgimage jcr:primaryType="cq:Widget" allowUpload="false" cropParameter="./bgmage/imageCrop" fileNameParameter="./bgimage/fileName"fileReferenceParameter="./bgimage/fileReference" mapParameter="./bgimage/imageMap" name="./bgimage/file" requestSuffix="/bgimage.img.png"rotateParameter="./bgimage/imageRotate" title="Background image" uploadText="Drag and drop images from DAM" uploadUrl="/tmp/upload/*"xtype="html5smartimage"/>
<blueprint jcr:primaryType="cq:Widget" path="/libs/foundation/components/page/tab_blueprint.infinity.json" xtype="cqinclude"/>
<cloudservices jcr:primaryType="cq:Widget" path="/libs/foundation/components/page/tab_cloudservices.infinity.json" xtype="cqinclude"/>
<image jcr:primaryType="cq:Widget" path="/libs/foundation/components/page/tab_image.infinity.json" xtype="cqinclude"/>
<livecopy jcr:primaryType="cq:Widget" path="/libs/foundation/components/page/tab_livecopy.infinity.json" xtype="cqinclude"/>
<YOURTABNAME jcr:primaryType="cq:Widget" title="SOMETHING" xtype="panel"> 
<items jcr:primaryType="cq:WidgetCollection"> 
<rtetext jcr:primaryType="cq:Widget" fieldLabel="test" height="100" name="./test" xtype="richtext"> 
<rtePlugins jcr:primaryType="nt:unstructured"> 
<format jcr:primaryType="nt:unstructured"/> 
<links jcr:primaryType="nt:unstructured"/>
<justify jcr:primaryType="nt:unstructured"/>
<lists jcr:primaryType="nt:unstructured"/>
</rtePlugins>
</rtetext>
</items>
</YOURTABNAME>
</items>
</tabs>
</items>
</dialog>
You can also extend individual tabs based on your need.
Yogesh
www.wemblog.com

Similar Messages

  • How to create a new tag in page properties in the sidekick of geometrrix page

    how to create a new tag in page properties in the sidekick of geometrrix pagesame as basic, advanced, blue print??

    Hi prachi,
        Is it tag OR Tab ? Seems like you are looking for Tab. Look at [1] & overlay to custamize per your need. Or define at your page component.
        [1]   /libs/foundation/components/page/dialog/items/tabs/items
    Thanks,
    Sham

  • Custom search for pages

    Hi all,
    I have a couple of questions about custom search on pages:
    1) How do pages appear as links in a custom search region? We are able to search on non standard page type, but the problem is that we cannot retain a template with an non standard page type.
    2) How do we tag a page with a refrencable attribute (preferably categories and perspectives) so that we can search on in a custom search?
    Please advise.
    Thanks.

    (1) I am not entirely clear on what you are meaning. Is it the appearance of the actual page search results which is wrong or the actual search results. Can you please give more information.
    (2) You can create a page type and add the attributes you wish to use to search for the page. Then after creating a page of this new type go to its properties and click on the 'Optional' tab you can enter values for these additional attributes.

  • Adding new custom field in already existing custom tab for MM01

    Hello Guru,
    I have a requirement that add a custom field in already existing custom view of MM01. I did the following steps :
    1. I have cerated a new field in MARA using APPEND structure.
    2. I have found the function group(Y_FE_MARA) that already there other subscreens, so that I have added another subscreen in that function group and created a field from MARA in the screen.
    3. in SPRO went for the path Logistics General->Material Master->Configuring the Material->Define Structure of Data screens for Each Screen sequence
    In the 3rd step, I have choosen already existing screen sequence(Y1) and went for Data Screens and choosen for Custom tab and double click on subscreens and then I have added the program as SAPLY_FE_MARA and subscreen number(011) and saved it.
    After all the above steps, I have run MM02/MM03 then the field is not getting displayed in the screen of custom view.
    Did I miss any steps here? Please suggest me if I did something wrong.
    Thanks and Regards,
    Muralikrishna Peravali

    Hi Raymond,
    Thank you for the reply. As per the note some one already implemented the Screen Enhancement with 2 custom views. I need to add the field in any one of existing custom view. So for this I have created a Subscreen in copied function group of MGD1(Y_FE_MARA). But in the function group already 10 Subscreens were created. Is this is the problem? or else copy the FG MGD1 into another FG and create the subscreen will be feasible to my scenario?
    Please suggest me.
    Thanks and Regards,
    Muralikrishna Peravali

  • Custom tabs for JTabbedPane?

    Is there no way to customize the contents of a tab for a JTabbedPane? I mean, sure, icon and label are nice. But say I want a "X" button on it to close the tab. Is there no way to do something like that?
    It would seem like a useful thing to have a JTab component that is a container which displays the tab itself. The default contents could be a JLabel for the icon/label, but then if I wanted to add a button, I could do so.
    Maybe I'm missing something, but I don't think so. I've searched around and don't see any way (I'm not even sure that a customized TabbedPaneUI would even work here)...

    Check this out: http://www.infonode.net/index.html?itp
    This JTabbedPane alternative is designed just as you described: each tab is a separate component, containing the label, icon, etc., plus the "content" component. Adding a button that removes the tab is trivial, as shown below. Another feature I'm particularly fond of is the "compression" layout policy, which squeezes the tabs to fit the available width. I much prefer that scheme to scrolling tabs, and they've implemented it very nicely.
    The only quibble I have with it is the way it handles keyboard focus. Either I'm missing something, or it just doesn't work sensibly. The sample code includes a workaround that forces the selected content component to always have the focus.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import net.infonode.tabbedpanel.*;
    import net.infonode.tabbedpanel.titledtab.*;
    public class TabbedPanelDemo
      public static void main(String[] args)
        // Reduce padding around tabs, especially to the right of the
        // the "remove" button.  If there's a way to do this through
        // the TabbedPanel API, I haven't found it.
        UIManager.put("TabbedPane.tabInsets", new Insets(0, 5, 1, 1));
        JFrame frame = new JFrame("TabbedPanelDemo");
        frame.addWindowListener(
          new WindowAdapter()
            public void windowClosing(WindowEvent e)
              System.exit(0);
        final TabbedPanel tp = new TabbedPanel();
        tp.getProperties().setTabLayoutPolicy(TabLayoutPolicy.COMPRESSION);
        tp.addTab(makeTab("First Panel",  "Panel 1"));
        tp.addTab(makeTab("Second Panel", "Panel 2"));
        tp.addTab(makeTab("Third Panel",  "Panel 3"));
        tp.addTab(makeTab("Fourth Panel", "Panel 4"));
        tp.addTab(makeTab("Fifth Panel",  "Panel 5"));
        // Keep the focus in the selected textarea.  If you comment out
        // this statement, the focus will shift to the the Close button
        // every time you select a different tab.
        tp.addTabListener(
          new TabAdapter()
            public void tabSelected(TabStateChangedEvent evt)
              tp.getSelectedTab().getContentComponent().requestFocus();
            public void tabRemoved(TabRemovedEvent evt)
              tp.getSelectedTab().getContentComponent().requestFocus();
        frame.add(tp, BorderLayout.CENTER);
        Box box = Box.createHorizontalBox();
        box.add(Box.createHorizontalGlue());
        JButton btn = new JButton("Close");
        btn.addActionListener(
          new ActionListener()
            public void actionPerformed(ActionEvent evt)
              System.exit(0);
        box.add(btn);
        frame.add(box, BorderLayout.SOUTH);
        frame.setSize(400, 150);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      private static Icon removeIcon = UIManager.getIcon(
          "InternalFrame.paletteCloseIcon");
      private static Insets zeroInsets = new Insets(0,0,0,0);
      static Tab makeTab(String label, String text)
        JTextArea content = new JTextArea(text);
        final TitledTab tab = new TitledTab(label, null, content, null);
        // This is all you have to do to add a "remove" button to a tab
        JButton b = new JButton(removeIcon);
        b.setMargin(zeroInsets);
        b.addActionListener(
          new ActionListener()
            public void actionPerformed(ActionEvent evt)
              tab.getTabbedPanel().removeTab(tab);
        b.setFocusable(false);
        tab.setTitleComponent(b);
        return tab;
    }

  • Set default tab for Document Properties windows

    Greetings!
      Once I open a PDF document and go to File > Properties I always get the Security tab open by default:
      Can you suggest me a way to change tab displayed by default to the other one, for example Description please?
      Thank you!

    Oh. This is a logic.
    I used to click to closing X at the top right.

  • Create a Custom Layout for page

    I'm trying following the example -> Example 7-4 Sample Code for the example.layout File
    [ http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14243/develop_ui_lookfeel.htm#i1045018 ]
    and in this way I create new Layout for my page
    <skeleton:control name="*table*" presentationContext="${layoutpc}" class="wlp-bighorn-layout"
    cellspacing="0" cellpadding="0" width="100%" >
    <c:set var="ph" value="${layoutpc.placeholders}"/>
    <c:set var="left" value="${ph[0]}"/>
    <c:set var="upper" value="${ph[1]}"/>
    <c:set var="lowerLeft" value="${ph[2]}"/>
    <c:set var="lowerRight" value="${ph[3]}"/>
    my problem now is that I'd like create new Layout with div without table
    because the requirement of my project is I can't use table for positioning portlet
    I can't foud document or example about it
    I'm looking forward to yearing from you soon, many thanks in advice

    I've found it's worthwhile spending time fiddling and adjusting Lightroom's templates and saving to Custom Pages but I haven't found a way of removing a custom page layout once I've finished using it or tweaked it some more. Can you say how to remove one, please, johnbeardy? I can put them in and out of Favourites but the Custom Pages list just gets too long.

  • How to handle a custom tab in PCUI??

    Hi everyone...
    I have added a custom tab for the standard pcui opportunity application. If i click on that custom tab I want a new view or page to be dispalyed. Can anyone please let me know how to get this done or how to configure this.
    This is a bit urgent.
    Thanks and Regards,
    Bhargava

    Hello,
    you can find details about what Shailaja Gandam  described in my Blog:
    <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url CRM PCUI HTML viewer to call a custom URL</a>.
    Regards
    Gregor

  • Change the name of custom tab in me51n / me52n / me53n

    Hi,
    I have to add a few custom fields in PR item of  transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fields that I have added using the enhancement MEREQ001 while displaying in me51n / me52n / me53n.
    Now I have a requirement to change the name of the custom tab created for transactions me51n / me52n / me53n from Customer Data to Others.
    Can anyone suggest me how to go about doing this???
    Thanks in advance.
    Abhisek.
    P.S.:- Points will be be duly awarded 4 helpfull answers.

    Hi,
    I tried doing whatever you had suggested but it seems that it is not working.
    Could you suggest some other way to do this?
    Thanks and regards.
    Abhisek.

  • How to make reference wbs custom data carried to new wbs when using custom tab and custom table

    I created a custom tab for WBS elements by using user exit CNEX0007 and custom screen and put a table control in it.
    As table control's data has to be stored in a table I could not use append structure of PRPS.
    When I used reference wbs, PRPS custom fields were carried also but I could not find any solution to fill table control data with reference table.
    I need to get correspondence between reference number's and new id's key data. Is there any exit, enh. that I can store the relationship.

    Solved...
    I've used an enhancement point in include LCNPB_MF38.  CJWB_SUBTREE_COPY exports a table called newnumbers. Here you can find correspondances between copied WBS and new WBS.
    Exported table to memory id.
    And imported it in another user-exit. You can use proper user exit for your need.  ( EXIT_SAPLCNAU_002)

  • Ribbon Custom tab won't appear on custom list

    Hi all! If anyone could be so kind and help me with the following.
    I have created a custom list in Visual Studio 2012 and i am trying to add a custom tab to that list.
    Below is the content of the elements file for the custom tab and respective controls:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="MyCustomRibbonTab"
    Location="CommandUI.Ribbon"
    RegistrationId="10000"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.Tabs._children">
    <Tab
    Id="Ribbon.AnnualLeaveTab"
    Title="Annual Leave"
    Description="Annual LEave requests!"
    Sequence="301">
    <Scaling
    Id="Ribbon.AnnualLeaveTab.Scaling">
    <MaxSize
    Id="Ribbon.AnnualLeaveTab.MaxSize"
    GroupId="Ribbon.AnnualLeaveTab.CustomGroupExample"
    Size="OneLargeTwoMedium"/>
    <Scale
    Id="Ribbon.AnnualLeaveTab.Scaling.CustomTabScaling"
    GroupId="Ribbon.AnnualLeaveTab.CustomGroupExample"
    Size="OneLargeTwoMedium" />
    </Scaling>
    <Groups Id="Ribbon.AnnualLeaveTab.Groups">
    <Group
    Id="Ribbon.AnnualLeaveTab.CustomGroupExample"
    Description="This is the Annual Leave request custom group!"
    Title="Annual Leave Request"
    Sequence="52"
    Template="Ribbon.Templates.CustomTemplateExample">
    <Controls Id="Ribbon.AnnualLeaveTab.CustomGroupExample.Controls">
    <Button
    Id="Ribbon.AnnualLeaveTab.CustomGroupExample.New"
    Command="AnnualLeaveTab.New"
    Sequence="15"
    Image16by16="/_layouts/15/1033/images/formatmap16x16.png"
    Image32by32="/_layouts/15/1033/images/formatmap32x32.png"
    Image32by32Class="CSS Class Selector"
    Image32by32Top="-205"
    Image32by32Left="-341"
    Description="Create new Annual Leave Request"
    LabelText="Create New"
    TemplateAlias="cust1"/>
    <Button
    Id="Ribbon.AnnualLeaveTab.CustomGroupExample.Approve"
    Command="AnnualLeaveTab.Approve"
    Sequence="17"
    Image16by16="/_layouts/15/1033/images/formatmap16x16.png"
    Image32by32="/_layouts/15/1033/images/formatmap32x32.png"
    Image16by16Class="CSS Class Selector"
    Image16by16Top="-198"
    Image16by16Left="-290"
    Description="Approve selected request"
    LabelText="Approve"
    TemplateAlias="cust2"/>
    <Button
    Id="Ribbon.AnnualLeaveTab.CustomGroupExample.Reject"
    Command="AnnualLeaveTab.Reject"
    Sequence="19"
    Image16by16="/_layouts/15/1033/images/formatmap16x16.png"
    Image32by32="/_layouts/15/1033/images/formatmap32x32.png"
    Image16by16Class="CSS Class Selector"
    Image16by16Top="-181"
    Image16by16Left="-290"
    Description="Reject selected Request"
    LabelText="Reject"
    TemplateAlias="cust3"/>
    </Controls>
    </Group>
    </Groups>
    </Tab>
    </CommandUIDefinition>
    <CommandUIDefinition Location="Ribbon.Templates._children">
    <GroupTemplate Id="Ribbon.Templates.CustomTemplateExample">
    <Layout
    Title="OneLargeTwoMedium"
    LayoutTitle="OneLargeTwoMedium">
    <Section Alignment="Top" Type="OneRow">
    <Row>
    <ControlRef DisplayMode="Large" TemplateAlias="cust1" />
    </Row>
    </Section>
    <Section Alignment="Top" Type="TwoRow">
    <Row>
    <ControlRef DisplayMode="Medium" TemplateAlias="cust2" />
    </Row>
    <Row>
    <ControlRef DisplayMode="Medium" TemplateAlias="cust3" />
    </Row>
    </Section>
    </Layout>
    </GroupTemplate>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler
    Command="AnnualLeaveTab.New"
    CommandAction="javascript:SP.UI.ModalDialog.ShowPopupDialog('/SitePages/Leave%20Request.aspx?isDlg=1','_blank');" />
    <CommandUIHandler
    Command="AnnualLeaveTab.Approve"
    CommandAction="javascript:alert('Approved');" />
    <CommandUIHandler
    Command="AnnualLeaveTab.Reject"
    CommandAction="javascript:alert('Rejected');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    The contents of the element file for the list is as below:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List project item, an error will occur when the project is run. -->
    <ListTemplate
    Name="IFX_Leave"
    Type="10000"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="410"
    DisplayName="IFX_Leave"
    Description="My List Definition"
    Image="/_layouts/15/images/itgen.png"/>
    </Elements>
    As seen, the RegistrationID and list Type ID are the same so in theory this should work. Also, for other lists deployed through the same solution with the same Type ID, the ribbon tab and controls render perfectly fine.
    Any ideas what may be the issue here?
    Appreciate your input!

    Hi,
    According to your post, my understanding is that you had an issue about the custom tab for list.
    As you had said, the other tabs for other lists in the same solution worked well, the code would have no issues.
    I recommend you create a new clean project with only one list and the tab to check whether it works.
    What’s more, you can also change the list template type ID(such as 100), then check whether it works.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Screen Exit Custom Tab Title Change

    I have enabled the screen exit PPCO0012 ( Production Order CO03, CO02, CO01  ) custom tab for additional fields. After enabling the screen
    SAPLCOKO1                      0900 SSCR115  SAPLXCO1                       0100
    I am getting the custom tab.
    But it showing the tab title as "Customer Screen" I wanted to change to my own name.
    How ? any info ?

    Resolved.
    We need to change in under menu exit
    SAPLCOCU                       +COI

  • Project template: custom tab / field group

    Hello!
    We set-up an additional custom tab for some object types (DPO, PPO, TTO...), thanks to the field group customizing.
    However, it seems not possible to display these fields in the templates: DPT, PPT, TTT. The field groups are defined per project type, so why don't we see these fields in the templates when we select a project type? The more strange is that we see the tabs, but not the fields...
    Does anyone have an idea to perform this?
    Thank you.
    Matthias

    Hi Matthias,
    If you can see the tabs and not the fields, pl check if you have covered field control for these newly created custom fields.
    To have field control for these fields, you will have to copy the standard SAP provided field control, include the structure that has you custom fields and give it authorizations etc as per your requirement.
    Pl read carefully the documentation provided with field control.
    Regards,
    Reema.
    Edited by: Reema Shahbazkar on Jun 11, 2008 7:42 PM
    Refer note 947963 - Setting up field control

  • X fi xtreme gamer Windows 7 64bit no custom tab to set digital I/O?

    Hi guys
    im trying at the moment to use my pc as a HTPC on my tv,? I have a xf fi xtreme gamer card (sb0730x one)? I bought a mini toslink to toslink lead and I've plugged it into the flexijack port and the toslink into my reciever (samsung ht-tz325r)?
    Following the guide in creative support ( http://support.creative.com/kb/showarticle.aspx?sid=64440 ) I do not have a custom tab under speaker properties.
    I can not get any sound out of my reciever.
    Any suggestions ?
    Thanks in advance
    Steve

    http://www.imagebam.com/image/0f7c885053978
    Thats a SS of how it looks on my pc atm, no custom tab , I dont get it ;/

  • How to add custom action for Publishing Tab on Pages?

    I am able to add a custom action for libraries tab on document library , but i am unable to add it on Publishing tab on Pages.
    Below is the code , what i am trying.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItems"
    Location="CommandUI.Ribbon"
    RegistrationType="List"
    RegistrationId="850"
    Sequence="40"
    Title="Move Documents">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.PublishTab.Publishing.Controls._children">
    <Button
    Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItemsButton"
    Alt="Check Linked Page Assets"
    Sequence="40"
    Command="CheckLinkedPageItems"
    Image32by32="/_layouts/images/centraladmin_systemsettings_email_32x32.png"
    LabelText="Check Assets"
    TemplateAlias="o1"
    ToolTipTitle="Check Linked Page Assets"
    ToolTipDescription="Checks each image, document and page linked to from this page and verified if the asset is both working (not a broken link) and published. You may also use that page to publish all unpublished assets at once."
    />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="CheckLinkedPageItems" CommandAction="javascript:alert('button clicked!);" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    any thoughts?

    Hi,
    Check the secquence number . I don't see any issue in your code. Try with different sequence numbers.
    Did you find this Helpful? Please Mark it So! Thank you. Sachin Kumar

Maybe you are looking for

  • When I plug my iPad into my charger it won't charge. Anything I can do?

    Recently I got a new wire for my iPad, and since I've gotten it whenever I plug my iPad in to charge, it doesn't work the first time, or second, or third.. I have to keep retrying until it works, which is usually about 20 times.. But now it's really

  • WinXP, iMac and MacBook network

    Hello. I am making home network between iMac, macbook (OS X 10.5) and WinXP(pro) PC. PC is wired to router. iMac and MacBook are connected to the same router via Air-Port. So the problem is: iMac can browse files on PC, macs can browse files in each

  • ASA5505 un-responsive after installing ASA-SSC-AIP-5 IPS module

    Hello, Can anyone help? I have a pair of ASA 5505 firewalls in a failover configuration. Everything works correctly until I install the IPS module into the secondary firewall. When install I can no longer ping the firewall from the inside network. We

  • OracleJSP error: java.io.FileNotFoundException when submitting form

    I auto-generated a task form for a very simple test and receive this error when SUBMIT-ing the form. OracleJSP error: java.io.FileNotFoundException: Set the init-param debug_mode to "true" to see the complete exception message I am guessing it has so

  • Export to thumb drive and remove hidden files for Pandigital frame

    I have a Pandigital photoframe. I find from searching online that there is zero support for Mac users. The frame mounts in the finder then disappears after a short while. Searching the web, I have found (supposedly) that one must export the files fro