Is it possible to switch Web Parts at runtime?

Toriyama 286 Reputation points
2022-04-27T13:22:13.097+00:00

I have some web parts in my spfx project and I need to enable navigation between these web parts.
For each web part I will have a page and I need to do this page navigation in my spfx project.

At first I created several pages and in each one I added the respective web part.
I imagine it's not the best way.

Is it possible to change which web part is loaded in sharepoint framework?

Thanks

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,132 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,231 Reputation points
    2022-04-28T09:48:37.367+00:00

    Hi @Toriyama ,

    Thank you for the detailed description of this case. When I received the case, I searched a lot of documents did a lot of researches.

    As this requirement is complex ,I suggest you find solution partner to design this requirement.

    Thanks for your understanding and support.


    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.



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.