question

Toriyama avatar image
0 Votes"
Toriyama asked RobWindsor-4651 answered

Is there a problem using the workbench from a production site?

I have developed for sharepoint framework and because I don't have a development environment (SPO for DEV) sometimes I use the workbench in production.
I wanted to know if this can have an impact on the application.

Thanks

office-sharepoint-onlineoffice-sharepoint-server-development
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RobWindsor-4651 avatar image
2 Votes"
RobWindsor-4651 answered

Whether the use of the workbench in a production site will have negative effects on the performance of the site depends on what the web part you are testing does. For example, if you're just getting some a few dozen list items from a couple lists and rendering it out on the page, then you will be fine. But if the web part gets tons of data from multiple sources to build some sort of visualization, it could have some impact. Similarly, if the web part makes changes to the site configuration, that could have an impact (particularly if there's a bug in the code you're testing).

I highly recommend that you consider using a developer tenant to test your web parts instead. You can get a free developer tenant by joining the Microsoft 365 Developer Program. I've been using developer tenants for all my SharePoint, Teams, and Power Platform development for years.

193847-image.png

I hope this helps.



image.png (40.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaytheonXie-MSFT avatar image
1 Vote"
RaytheonXie-MSFT answered Toriyama commented

Hi @Toriyama ,
To use client-side web parts on modern SharePoint server-side pages, you need to deploy and register the web part with SharePoint. Workbench is tremendously useful to test and validate your web parts against the service. You can refer to following document to deploy your web part.
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part


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.




· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Toriyama ,
Would you tell me whether your issue has been resolved or have any update?
I am looking forward to your reply.

Have a nice day!

Thanks,
Raytheon Xie

0 Votes 0 ·

Hi @Toriyama ,
I am checking to see how things are going there on this issue.

0 Votes 0 ·

Hi,
But if I use the production site to develop the web part, can this somehow cause problems on the production site? Will users be impacted? Or will the system be slow, for example?

Thanks

0 Votes 0 ·