Shortcut listview is redirected to "/_layouts/15/listhost.aspx" SharePoint online

Hunk0227 26 Reputation points
2020-10-29T10:22:53.123+00:00

Hello SP Expert/MS,

Good day!
I just experiencing weird things in SharePoint Online.
I setup launch cast shortcuts to the homepages redirecting to specific listviews.
However, when clicking the links i was redirecting to "/_layouts/15/listhost.aspx" and sometimes is working fine.

Is anyone encountered the same or has an ideas why this happened.

thank you

Hunk

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

Accepted answer
  1. Chelsea Wu 6,341 Reputation points Moderator
    2020-11-02T06:47:46.893+00:00

    Hi @Hunk0227 , @Søren Bromand , I have reproduced this issue when inserting a link to newform.aspx of a random list, but link to a specific list view works fine.

    Per my test:

    1. A valid link to a list view should be formatted as:
      https://<tenant>.sharepoint.com/sites/<site>/Lists/<List>/<ListViewName>.aspx?viewid={GUID}
      The part ?viewid={GUID} can be omitted since the link ahead is a full link accessible via the address bar.
      Try replacing the links in the Quick Launch with the “Web address of this view”, which can be found via the list view settings.
      36771-screenshot-2020-11-02-142721.png
    2. It seems that modern SharePoint has trouble identifying the link generated from classic newform.aspx. The links would work as expected if clicked in classic experience, at least they redirect me to the target list without error.
      This is a known issue in modern experience. Currently, there is no alternative way to insert a link of newform.aspx to be used in modern SharePoint.
      The format of the links I test with:
      https://<tenant>.sharepoint.com/Lists/<List>/NewForm.aspx?Source=https://<tenant>.sharepoint.cco/LList/<List>/AllItems.aspx&RootFolder=

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    **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. **

    1 person found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. DE KOOTER Geert 1 Reputation point
    2020-11-03T08:10:45.877+00:00

    We have the same issue in our environment.
    not specifically with "newform.aspx" but with the "DispForm.aspx?ID=1"

    Work around on a user perspective:

    Strangly enough the lin does open correctly when you force the link to open in a new tab, either using a right-click or CTRL+click on the link.

    Lets hope this does get solved quickly.

    Geert

    0 comments No comments

  2. Hunk0227 26 Reputation points
    2020-11-05T07:01:13.353+00:00

    Hello All,

    Thanks.
    Point #1 works for me, it may take extra efforts replacing ?viewid={GUID} to full Listview URL but resolved the issue.

    @DE KOOTER Geert
    Opening in new tab works as well however this should not work like that. It might get confusion to the end-users resulting to incident tickets.

    I hope Microsoft could find permanent solutions on these matter.

    Have a good day!

    0 comments No comments

  3. DE KOOTER Geert 1 Reputation point
    2020-11-09T06:51:04.153+00:00

    We have received confirmation from MS that a fix is being implemented and rolled out in 2 weeks or so.

    @Hunk0227
    I know it ain't perfect, like I stated, it is a work-around, not a fix. ;-)
    Anyway, the issue should soon be resolved.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.