Share via

Dynamic Sharepoint Link

Anonymous
2023-12-04T15:13:28+00:00

I have a list with the same name and different content on different subsites. I need a link that will automatically go to the subsite the user is on.

Example:

https://site/subsiteA/Lists/MyList/AllItems.aspx

https://site/subsiteB/Lists/MyList/AllItems.aspx

I need a link that will go to whatever subsite the user is on.

https://site/??/Lists/MyList/AllItems.aspx

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-12-05T08:20:22+00:00

    Hi respected Mindy Merlino,

    Thanks for your valuable feedback and sharing updates with us and I really appreciate your effort and your precious time doing. 

    And I appreciate your kind words.

    Based on my different test, I'm Sorry, it actually like bad news. I tried calculated column, and a choice selection field but I'm sorry I cannot get the desired result (Please accept my apologize).

    However, after research a lot, it might be achieve using Microsoft Flow power Automate to replace the subsite name and create an automatic link. Or using Power Apps to create a 2 buttons subsite 1 and subsite 2, when you click on subsite 1 a link create.

    I'm sorry and I apologize for that.

    Your understanding and patience will be highly appreciated. I hope that you are keeping safe and well!

    Sincerely,

    Waqas Muhammad

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-12-04T16:16:51+00:00

    Appreciate any assistance you can offer. Thanks!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-12-04T16:08:14+00:00

    Dear respected Mindy Merlino,

    Good day! Thank you for posting to Microsoft Community. We are happy to help you.

    As per your description, if possible, could you please allow me some time to do test on my side and I will update you here after my test result ASAP.

    Appreciate your patience and understanding and thank you for your time and cooperation.

    Sincerely,

    Waqas Muhammad

    Was this answer helpful?

    0 comments No comments