Sp-dev-docs: Partial navigation not reload the page content in targeted release tenant when change querystring value in the URL

Created on 4 Oct 2019  路  5Comments  路  Source: SharePoint/sp-dev-docs

Category

  • [ ] Question
  • [ ] Typo
  • [X] Bug
  • [ ] Additional article idea

For a few days, when a partial navigation is done in a "targeted release" tenant, the content of the page is not reloaded when only the querystring of the url changes. The same if it currently works in a "standard" tenant, that is, reloads the content of the page.

Surely something related to routing has been changed internally. I think that some type check has been added: if it is the same page, do not reload the page content

This is a critical change for our clients because we have webparts that update their information based on the querystring of the url.

We would like to know if this change will be deployed in the "standard" tenants or not. In case of yes, we would need an event in the webparts to know that a partial navigation has been done, just like the this.context.application.navigatedEvent that the ApplicationCustomizer have.

Please we would need an answer on this topic.

Thank you!

other to-be-reviewed question

Most helpful comment

Same is happening to me when using a page with query string parameters. Previously the page was reloaded and the web parts update, now this behavior stops working.

All 5 comments

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Same is happening to me when using a page with query string parameters. Previously the page was reloaded and the web parts update, now this behavior stops working.

We are experiencing the same issue as well but on a standard tenant

I've got the same issue on a dev-tenant. Need some further investigation if it's also an issue on our production tenant, but is there any update on this issue?

We are also having the same issue (in Production Tenant) with custom web parts even with different page names.

We have created pages based on template, as well as using Copy of this page features, and the methods (constructor, oninit, render, dispose) methods of the custom webpart in the page is not getting called when navigating from one page to another page that is created with the same template / copy. OOTB webparts (like Hero, Text, Button) seems NOT to have such issue.

PS: We had seen this issue earlier with Hero / Button web parts, but it got fixed after a while.

Was this page helpful?
0 / 5 - 0 ratings