sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Extensions: Support Development in Local Workbench

Open andrewconnell opened this issue 9 years ago • 6 comments

Category

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

Today, application extensions in SPFx (command sets, application customizers & field customizers) can't be tested within either the local or SharePoint Online hosted workbench. This is a bummer and a big step backwards to such a cool aspect to the development story with SPFx.

I get that you need a list to work with, but at a minimum, the workbench could have a static list with static data and no other functionality for us to test the customizations on.

My wish is that Microsoft adds support to the workbench for extensions before GA.

If you are planning to share a new feature request (enhancement / suggestion), please use SP Dev UserVoice at http://aka.ms/sp-dev-uservoice.

OK, cross-referenced: Extensions: Support Development in Local Workbench

andrewconnell avatar Jul 04 '17 15:07 andrewconnell

Closing to keep feature requests in UserVoice... my bad.

andrewconnell avatar Jul 04 '17 15:07 andrewconnell

Just starting to develop extensions now and realizing what a huge pain it is not having the local workbench. I have to retract and redeploy the solution every time I make a simple CSS change. We're back to farm solutions all over again. So inefficient

Colbz avatar Oct 20 '17 17:10 Colbz

Have you checked Ignite video Building the modern SharePoint experience: Best practices from Microsoft for developing with SPFx ? It actually mentioned about an approach which you can add your SPO workbench with your customization properties into serve.josn, and then you can call gulp serve --config [your config] to open up your browser and go that url directly. You probably can find out the detail around 00:35:00 in the video. the following is a sample of serve.json:

serve json

you can run the following command gulp serve --config customActions

frankchen76 avatar Oct 20 '17 18:10 frankchen76

Oh nice, this looks promising I will test and advise

Colbz avatar Oct 20 '17 21:10 Colbz

@Colbz ... vote it up: https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/19857541-extensions-support-development-in-local-workbench

andrewconnell avatar Oct 21 '17 20:10 andrewconnell

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 29 '20 06:01 msft-github-bot