How do I add a link to the New SharePoint page?

I have a custom function, and I would like to associate this functionality with a link on the New page - the create.aspx page that you get from the Site Actions menu. I would be happy to do this declaratively in the element manifest or programmatically in the function activation code, but I don't know if this is possible or how to start. In the meantime, I have a link in the Site Actions menu, but I would like to move it to a more logical location on the New page.

Ultimately, I would like to have a link at the bottom of the Custom Lists column on the Create page that says Chris Custom List, and that link points to my custom app page to initiate this custom list creation process.

+1


source to share


2 answers


I will blame my rather heat at the time because my answer is simply wrong.

You can add custom links to a custom list column by simply adding a list template that assigns the NewPage property to the ListTemplate.



I have no idea why I answered what I did, but to make up for any confusion, I wrote an article that demonstrates custom SharePoint list creation as well as many other features.

+2


source


Unfortunately, you have no support for adding custom links to a custom list column. The column is created from the established list templates, and only the method of adding anything to that column adds the list template, which doesn't give you control over which link is created.

On the New page, you can add your own links only to the columns of the Web Pages. To do this, add a CustomAction with Location = "Microsoft.SharePoint.Create" and GroupId = "WebPages":

    <CustomAction
 Location="Microsoft.SharePoint.Create"
 GroupId="WebPages"
 Title="Chris Custom List">
      <UrlAction Url="custompage.aspx"/>
    </CustomAction>

      



You can, of course, change the create.aspx file if you don't need support or plan to ever upgrade SharePoint.

.b

+2


source







All Articles