SharePoint Feature: Add Column from Existing Site Columns menu item

Question: what is the easiest way to add a column to a list or document library in SharePoint 2007?
Answer: navigate to the list, from the Settings menu, choose Create Column.

Question: how do you add an existing Site Column to a list or document library?
Answer: navigate to the list, from the Settings menu, choose List/Document Library Settings, scroll down to the Columns section and click Add from existing site columns.

In the beta versions of SharePoint 2007 there was an easier way to add an existing Site Column to a list or document library because there was another menu item in the Settings menu: Add column from existing site columns. For those of you who are nostalgic about the beta's of Office 12, and want to have the menu item back: I've created simple feature to add the menu item:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="
http://schemas.microsoft.com/sharepoint/">
    <CustomAction
        Id="{F32CD702-0391-4b55-A8D6-7653650DEF95}"
        Location="Microsoft.SharePoint.StandardMenu"
        GroupId="SettingsMenu"
        RegistrationType="List"
        Sequence="0"
        ImageUrl="_layouts/images/menuaddcolumn.gif"
        Title="Add column from existing site columns"
        Description="Add an existing site column to store additional information about each item."
        Rights="ManageLists"
        >
        <UrlAction
            Url="javascript:window.location= '{SiteUrl}/_layouts/AddFieldFromTemplate.aspx?List={ListId}&amp;Source=' + window.location"/>
    </CustomAction>
</Elements>

The feature uses the Javascript tric which I explained yesterday (this feature was actually the reason for it). If you want to download the complete feature, packaged in a nice SharePoint Solution (WSP); just click here!

Here's a screenshot of the result:

11 Comments

  • On click file:

    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    --------------------------------------------------------------------------------

    Please try the following:

    Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
    Click the Back button to try another link.
    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)

    --------------------------------------------------------------------------------

    Technical Information (for support personnel)

    Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.

  • When i click on the link that you provided for complete feature download, its not working. Could you please send me the new link.


    Its urgent for me.

    Thanks in advance

  • How I can change the standart menu navigate URL?

  • the link is not working correctly

  • I love you people
    George

  • I love you people
    George

  • Amani Adventure Luxury Safaris in Kenya and Tanzania, as well as Mountain climbing, Beach Holidays and Gorilla Treks In Uganda.

  • billing codes for medical services, billing medical services, billing services medical billing company, billing software, business financial services medical billing, business medical billing services, company billing medical services, medical billing, medical billing and practice management services , medical billing business, medical billing company, medical billing services, medical billing services troy new York, new jersey nj mls listings, online medical billing services, practice management medical billing services, successful medical billing services, medical billing companies, billing codes for

  • Leading exporter, manufacturer and supplier of rasp bar, blades, combine parts, harvester parts, agricultural equipments, agricultural tools and combine harvester equipment. Windsor Exports deals in all kind of agricultural parts and farm equipments

  • peinture en surplus de manteau de poudre [url=http://www.superwuz.info/peinture22.html]peinture en surplus de manteau de poudre[/url] peinture en surplus de manteau de poudre http://www.superwuz.info/peinture22.html,red overlay aura [url=http://www.freewuzstore.info/overlay50.html]red overlay aura[/url] red overlay aura http://www.freewuzstore.info/overlay50.html,impresario galerie peintures [url=http://www.superwuz.info/peinture22.html]impresario galerie peintures[/url] impresario galerie peintures http://www.superwuz.info/peinture22.html,slutty girls lyrics [url=http://www.homeviewuzbekistan.info/slutty53.html]slutty girls lyrics[/url] slutty girls lyrics http://www.homeviewuzbekistan.info/slutty53.html,overlay for the underplay [url=http://www.freewuzstore.info/overlay50.html]overlay for the underplay[/url] overlay for the underplay http://www.freewuzstore.info/overlay50.html,

  • Sodaltech is leading manufacturers and exporters of pulp products like molded pulp packaging, molded pulp packaging in india, molded pulp packaging products, molded pulp packaging products in india, molded pulp suppliers, molded pulp suppliers in india, molded pulp trays, molded pulp trays in india, pulp molding, pulp molding in india, packaging products, packaging products in india, pulp packaging, pulp products, pulp commode, pulp cup carrier, electronic packaging, electronic packaging in india, mobile phone packs, molded pulp single-use receptacles, molded fiber, molded productive packaging, molded pulp products, molded pulp wine bottle packaging, engineered packaging, environmental packaging,

Comments have been disabled for this content.