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

Similar Messages

  • HT1386 When I connect my iPod Touch to a new laptop (Macbook Air) the "Info" tab won't appear and therefore I cannot sync it with my new iTunes. How can I sync this iPod with the iTunes on my new laptop?

    When I connect my iPod Touch to a new laptop (Macbook Air) the "Info" tab won't appear and therefore I cannot sync it with my new iTunes. How can I sync this iPod with the iTunes on my new laptop?

    There is no Info tab in Mavericks
    if you use OS X v.10.8.5 or earlier. If you use OS X Mavericks v.10.9 or later, your contacts, calendars, and other info are updated on your computers and iOS devices via iCloud. For more information, see iCloud Help at icloud.com.
    iTunes 11 for Mac: Sync contacts, calendars, and other info with iPod, iPhone, or iPad

  • Some times the "x" to close tabs won't appear in safari when in full screen mode. Is this a Bug?

    I put Safari in Full screen some times, and open some tabs to navigate in all off then togeter, jumping betwen then.
    But the x on the tab to close one by one, won't apper some times, and i need to click on other tab and then come back to the one i want to close to appear the x to close that. This is a bug?

    Hi,
    You can try to '''Reset toolbars and controls:''' and '''Make Changes and Restart''' in the [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode] start screen.
    If the problem persists, please try a [https://support.mozilla.org/en-US/kb/Managing-profiles?s=profile&r=0&e=sph&as=s new profile]. You can later copy [https://support.mozilla.org/en-US/kb/Backing%20up%20your%20information?s=backup&r=1&e=sph&as=s needed data] from the old profile to this.
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]

  • Tabs won't appear, extremely slow, does not save settings.

    For the past few months I've been experiencing a host of difficulties with Firefox. When I open a new window, the appearance is totally different from what the original window was, with the "Open a new tab" button on the left instead of the right, and the current tab that opens is not visible in the bar. When I try to change this in the settings, it just doesn't seem to take. This same problem is true for any window, secondary or otherwise. If I close everything, open a new session, change the settings to how I like them (which I have to do every time) and then close that window, nothing stays the way I set it.
    Also, the browser runs extremely slow. And when I say extreme, I mean it can take 20 minutes to open a new session. And once I start using it, it likes to periodically speed up to a normal pace for a few minutes, hours, days - it's not predictable - and then come to a crashing halt again.
    The final problem is less irritating, but equally perplexing. I have a few folders in my bookmarks toolbar that contain anywhere from 10-50 websites each, and they like to spontaneously auto-scroll to the top of the list, despite my attempts to scroll down. This problem just goes on and on until it suddenly stops for unknown reasons.
    I would really, REALLY appreciate some help clearing up these problems. Thanks!

    I see such issues my self.<br />
    It usually helps to close and restore that tab (History > Recently Closed Tabs; Cmd+Shift+T) to make the others appear.

  • How come the "on my iphone" tab won't appear at the top

    I'm using a iPhone 5c and I have been trying to get the tab to appear by uninstalling it and then re installing it. This happened after I updated to the 11.3.0.54 version. Please someone help.
    Thanks in advance
    I'm using Windows 8.

    Never mind figured it out..

  • Brand New Iphone 4 won't appear on device listing

    I've just got a new iPhone 4 and I plugged it in to my computer to initially register it for use but my computer would read the phone but iTunes wouldn't register it on the device list.
    I brought it to work today and it worked fine. Came home and tried a number of things such as removing iTunes and not restarting etc. I've been at it for nearly 2 days now and I'm none the wiser. I've just got no idea what to do with it. It charges on the computer, it appears on the computer as being an iPhone but iTunes won't do a thing with it.

    I bought it custom built from overclockers and it only had the operating system and updated drivers with it. I don't think it could be that. I've looked after it well. My friend had a jailbroken phone registered on my iTunes for awhile would that have had any conflict with iTunes for future devices connected to it at all?

  • ITunes Plus music available, but won't appear in upgrade list

    Hi,
    I have a whole bunch of DRM music left after I did the iTunes upgrade. Many of the songs and albums left are indeed available as iTunes Plus when purchased outright from the store, but I'm not offered upgrade for them.
    Ex. Annie Lennox - Songs of Mass Destruction. I bought the entire album originally DRM'd from the iTunes Store. It is available as Plus as both an entire album and as individual songs, yet I cannot upgrade my copy because I'm not offered it on the upgrade list.
    -Is there a way to let Apple know so they can add it to my upgrade list?
    - Will I automatically get upgraded and get the upgrade price if I just try to buy the music again and I have it DRM'd in my iTunes?
    Thanks,
    Bob A.

    -Is there a way to let Apple know so they can add it to my upgrade list?
    Send an email here -> iTunes store customer service

  • Chapter Markers won't appear on Marker list in FCP X settings when trying to Burn a Standard Definition Disc

    Help,
    Trying to burn an SD DVD disc in FCP X from the Share menu.  I've set Orange Chapter Markers with Titles in my project from the timeline and these don't appear when I check the box to use chapter markers for Subtitles in the Destinations box to burn a DVD.  I've set a photo in the main menu and it appears with the Title of my Project, but in the Chapter Menu it only shows the default list of Chapter 1, Chapter 2, etc.  Shouldn't my Chapters show up on the list after I set them up on my timeline in the project?  Also, I did burn a disc with my Chapters not showing up the chapter list and my disc only plays from the Main menu with the picture inserted.  There's a slash line in the Chapter list button stating I can't use that option and I can't play chapters.  Trying to get this project out the door before January 20, 2013.  Can someone please help?
    Thanks,
    Dave

    This "Share" feature behaves the same in both FCP7 and FCPX (it may actually be the only thing they have in common).
    Since the specification for DVD-Video does not support titled chapter points, the text that you have entered for the marker does not appear on the burned DVD.  You only get DVD chapter points at the same time index as the time code position of the FCP marker (and even then, it's at the closest i-frame of the MPEG2 GOP structure).  Also, the first frame is always "Chapter 1".  So, if your first FCP7/X marker at two minutes is named "Later that day...", then on the burned DVD it will appear as "Chapter 2".
    Checking "use chapter markers for Subtitles" was a good guess; however, this feature turns extended markers into subtitles (a very, very quick way to create subtitles, but limited when compared to what can be done in DVD Studio Pro).
    Could a QuickTime movie burned to a DVD-R/+R work instead of a DVD?  QuickTime chapter markers support text.
    -Warren

  • I'm connected to my home internet network, but won't appear on the list

    I'm in range of my internet network and it works, but it never shows up on the list for me to change things like the DNS settings...

    Try:
    - Resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Powering off and then back on the router
    - Resetting network settings: Settings>General>Reset>Reset Network Settings
    - The troubleshooting here:
    iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections

  • App won't appear in purchased list

    Another iPad in the family has Fruit Ninja HD on it and it uses the same iTunes account and same everything but when I go to Purchased list in AppStore it's not there. How can I get it to appear in list?

    It was bought via the same iTunes account ? Is it on that iPad's 'hidden' purchased list : http://support.apple.com/kb/HT4919 ?

  • Nano 6th gen unplugged during factory restore, now it won't appear on Source list and I can't access it again!

    I need to delet all the songs off my Ipod 6th generation nano. I began a restore to factory settings but my ipod was unplugged. Now the songs are still ON the ipod and the ipod does not register with my computer. It is not available in the device list. I am selling the ipod and it needs to be shipped tomorrow so going in for service is NOT the answer.

    Probably too late, but try connecting the Nano to iTunes to your PC in Disk Mode and then restoring it via iTunes again.
    Putting iPod into Disk Mode
    B-rock

  • How To Add Custom Tab To ListView Only

    I have the following custom action elements.xml snippet that is supposed to only display my custom tab and custom action button on the ListView.  
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="MYCUSTOMSOLUTIONRibbonTab"
    Location="CommandUI.Ribbon.ListView"
    RegistrationType="ContentType"
    RegistrationId="0x010014D754C688D12A4FB4C811B4B4F67A5C"
    Sequence="0"
    Rights="ViewListItems">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.List.Share.Controls._children">
    <Tab
    Id="Ribbon.MYCUSTOMSOLUTION"
    But when I click on the list item and it displays the modal dialog for the list item I see that the tab is also visible on the DisplayForm for the item.
    How can I display the custom tab on the list view only?

    Hi,
    The reason of this issue could related to the some settings of the custom action element.
    The workaround above also work for SharePoint 2010.
    Here is a detailed code demo works fine in my environment:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="MyCustomRibbonTab"
    Location="CommandUI.Ribbon.ListView"
    RegistrationId="100"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.Tabs._children">
    <Tab
    Id="Ribbon.CustomTabExample"
    Title="My Custom Tab"
    Description="This holds my custom commands!"
    Sequence="501">
    <Scaling
    Id="Ribbon.CustomTabExample.Scaling">
    <MaxSize
    Id="Ribbon.CustomTabExample.MaxSize"
    GroupId="Ribbon.CustomTabExample.CustomGroupExample"
    Size="OneLargeTwoMedium"/>
    <Scale
    Id="Ribbon.CustomTabExample.Scaling.CustomTabScaling"
    GroupId="Ribbon.CustomTabExample.CustomGroupExample"
    Size="OneLargeTwoMedium" />
    </Scaling>
    <Groups Id="Ribbon.CustomTabExample.Groups">
    <Group
    Id="Ribbon.CustomTabExample.CustomGroupExample"
    Description="This is a custom group!"
    Title="Custom Group"
    Sequence="52"
    Template="Ribbon.Templates.CustomTemplateExample">
    <Controls Id="Ribbon.CustomTabExample.CustomGroupExample.Controls">
    <Button
    Id="Ribbon.CustomTabExample.CustomGroupExample.HelloWorld"
    Command="CustomTabExample.HelloWorldCommand"
    Sequence="15"
    Description="Says hello to the World!"
    LabelText="Hello, World!"
    TemplateAlias="cust1"/>
    <Button
    Id="Ribbon.CustomTabExample.CustomGroupExample.GoodbyeWorld"
    Command="CustomTabExample.GoodbyeWorldCommand"
    Sequence="17"
    Description="Says good-bye to the World!"
    LabelText="Good-bye, World!"
    TemplateAlias="cust2"/>
    <Button
    Id="Ribbon.CustomTabExample.CustomGroupExample.LoveWorld"
    Command="CustomTabExample.LoveWorldCommand"
    Sequence="19"
    Description="Says I love the World!"
    LabelText="I love you, World!"
    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="CustomTabExample.HelloWorldCommand"
    CommandAction="javascript:alert('Hello, world!');" />
    <CommandUIHandler
    Command="CustomTabExample.GoodbyeWorldCommand"
    CommandAction="javascript:alert('Good-bye, world!');" />
    <CommandUIHandler
    Command="CustomTabExample.LoveWorldCommand"
    CommandAction="javascript:alert('I love you, world!');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    Here is a detailed article for your reference:
    https://msdn.microsoft.com/en-us/library/office/ff407250%28v=office.14%29.aspx
    Thanks
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].
    Jerry Guo
    TechNet Community Support

  • Remove the Custom Tab in XD01

    Hi Experts,
    I have created a custom tab in XD01 with some custom fields on it. My requirement is when I creating a new Customer using XD01, for only one particular Accounting group I need this Custom tab to appear in my transaction, for other accounting groups the new tab should not be displayed. I want to know if this can be done through Configuration?
    Thanks & Regards
    Johann

    Hi,
    yes use your own cusomizing table for this with fields:
    account group
    and x-field 'show  dynpro'
    select and process this table in your user-exit
    (with loop at screen)
    A.

  • Dunning Interest Column on appears on  Customer Receivables Ageing

    In 8.8 Customer has a column appearing on Customer receivable report titled 'Interest' only thing is the column shows no interest whatsoever and is blank known reasons for this as I have tried to replicate but can't even get the Dunning interest to appear no my demo system so I can see the result on customer data but can't replicate as can't even get column to appear.

    Hi Gordon
    On my version of SAP 2007A SP01 PL09 I have all the options chosen in the dunning terms to show interest yet I have no interest column in my customer receivable report or on screen... The customer has a different issue but maybe related?they have run through a test upgrade to 8.8 and they can see the interest column but have no values against any onf the BP? Is there something I am missing on this I appreciate that in testing you need to be on the same patch levels etc but I can't see why the column on the customers database I have here appears with no Interest column?

  • Custom Ribbon tab does not show in generic list

    Hi.
    I'm deploying the following definiton on a generic list, but the new custom tab does not show up. Anyone that can see what I have done wrong?
    Thanks!
    <Elements xmlns=”http://schemas.microsoft.com/sharepoint/“>
    <CustomAction
    Id=”Ribbon.MyTab”
    Title=”Adds a new Ribbon tab to Generic List”
    RegistrationType=”List”
    RegistrationId=”100″
    Location=”CommandUI.Ribbon.ListView”
    >
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location=”Ribbon.Tabs._children”>
    <Tab Id=”Ribbon.MyTab” Sequence=”110″ Description=”" Title=”My Tab Name”>
    <Scaling Id=”Ribbon.MyTab.Scaling”>
    <MaxSize
    Id=”Ribbon.MyTab.Scaling.MyGroup.MaxSize”
    Sequence=”15″
    GroupId=”Ribbon.MyTab.MyGroup”
    Size=”LargeMedium”/>
    </Scaling>
    <Groups Id=”Ribbon.MyTab.Groups”>
    <Group
    Id=”Ribbon.MyTab.MyGroup”
    Sequence=”15″
    Description=”"
    Title=”My Group Name”
    Template=”Ribbon.Templates.MyTab.MyGroup.CustomTemplate”>
    <Controls Id=”Ribbon.MyTab.MyGroup.Controls”>
    <Button
    Id=”Ribbon.MyTab.MyGroup.Button”
    Alt=”Ribbon.MyTab.MyGroup.Button”
    Command=”Ribbon.MyTab.MyGroup.Button_CMD”
    Image16by16=”/_layouts/images/siteIcon.png”
    Image32by32=”/_layouts/images/siteIcon.png”
    LabelText=”Button”
    Sequence=”10″
    TemplateAlias=”o1″
    ToolTipTitle=”Button”
    ToolTipDescription=”Shows a dialog” />
    </Controls>
    </Group>
    </Groups>
    </Tab>
    </CommandUIDefinition>
    <CommandUIDefinition
    Location=”Ribbon.Templates._children”>
    <GroupTemplate Id=”Ribbon.Templates.MyTab.MyGroup.CustomTemplate”>
    <Layout Title=”LargeMedium”>
    <OverflowSection Type=”OneRow” TemplateAlias=”o1″ DisplayMode=”Large”/>
    <OverflowSection Type=”ThreeRow” TemplateAlias=”o2″ DisplayMode=”Medium”/>
    </Layout>
    </GroupTemplate>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler
    Command=”Ribbon.MyTab.MyGroup.Button_CMD”
    CommandAction=”javascript: alert('Hello World');” />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>

    Hello,
    I was able to use your custom ribbon tab XML just fine.  The only thing is, the copy you provided had a bunch of illegal characters embedded in it (like reverse quotes?), I'm not sure if they're showing up in your version of the XML or not.  Anyway,
    after replacing those with straight quotes and fixing some other misc formatting, it worked fine.  I created an empty SharePoint project and added an empty element, then added your XML to the Element.xml file.  In SP, I created a new custom
    list and the "My Tab Name" tab appeared with a button that displayed "Hello World" when I clicked it. So, I recommend checking the formatting of your XML.  Just look for red squiggles in the editor and fix them.
    Regards,
    - Kemp Brown [MSFT]

Maybe you are looking for

  • Mails in Mail have wrong Timestamp

    Hello Communitiy I had a problem with my Mail, the Mails weren't downloaded, so i decided to rebuild the Index with "Mailbox > Recovery". After the rebuild, 50% of my Mails had a wrong Received Timestamp (the Timestamp from 50% of the Mails where set

  • Performing operations on multiple properties

    I would like to query the named cache, but return the sum of two properties. Is this possible? Something like new OperationExtractor(Operation.Sum, new ReflectionExtractor("Property1"), new ReflectionExtractor("Property2")) Or similarly in SQL SELECT

  • TS1702 deleting apps that are not updated

    deleting apps. clash of clans, won't update properly and I want to delete it off app store

  • ORA -00600 - Urgent

    I noticed this following error in the alert log. i am not sure how serious this error is. Is this is a trigger for concern ? Please advice. ORA-00600: internal error code, arguments: [729], [600], [space leak], [], [], [], [], ]

  • How to turn off favorites

    I am really tired of the "Favorites" drop down pad showing up whenever I am entering a search in the URL bar on Safari.  Is there any way to turn the function off?  It appears that the preferences function only allow you to choose the files you want