Sharepoint Classic : How to create a link from item in SharePoint list which passes an item ID to a SharePoint page with additioal info? ?

Marie Raymond 20 Reputation points

SharePoint online classic lists, To make easier the management of links (update and change of URL) in my site and pages I am using a sharepoint list of links (with URL field).

In case of change of URL the idea is to change it into the list and not to process changes in all the cases in site or pages.

It works with DispForm.aspx?ID=. But I am sent to the form and not to the URL field defined in the list.

Do you know How to create a link from item in Sharepoint list which redirect you to the item URL field and not to the item form ?

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,900 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 16,876 Reputation points Microsoft Vendor

    Hi @Marie Raymond,

    To create a link from an item in a SharePoint list that passes an item ID to a SharePoint page with additional information, you can use a query string parameter to pass the ID of the item to the custom page. Here are the steps to follow:

    1. Create a custom page that will display the additional information about the item. This page should accept a query string parameter that contains the ID of the item.
    2. In the SharePoint list, add a new column of type "Hyperlink or Picture".
    3. In the "Hyperlink or Picture" column settings, set the "Format URL" option to "Hyperlink".
    4. In the "Hyperlink" field, enter the URL of the custom page with the query string parameter for the ID of the item. For example, if the custom page is located at "" and the query string parameter is "id", the hyperlink should be "[ID]".
    5. Replace "[ID]" in the hyperlink with the internal name of the ID column in the SharePoint list. This will ensure that the ID of the item is passed to the custom page when the link is clicked.

    When a user clicks on the link in the SharePoint list, they will be taken to the custom page with the ID of the item passed as a query string parameter. The custom page can then use this ID to retrieve additional information about the item from a lookup list or other data source.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.