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

What is the replacement for spHttpClient.beginBatch in spfx 1.5?

Open OliverZeiser opened this issue 8 years ago • 4 comments

Category

  • [X] Question

Expected or Desired Behavior

We would like to make batch requests using spHttpClient. This was working as preview functionality in spfx 1.4.1

Observed Behavior

spHttpClient.beginBatch was removed with 1.5 build. What is the idea behind this and what is the recommended way if we want to do batching within the sharepoint framework?

OliverZeiser avatar Jun 06 '18 09:06 OliverZeiser

Hi @OliverZeiser

spHttpClient.beginBatch is still in preview so it has now been moved to the plusbeta channel in SPFx.

To generate a project with preview components, use the --plusbeta flag:

yo @microsoft/sharepoint --plusbeta

vman avatar Jun 06 '18 11:06 vman

Thx, that makes sense....

OliverZeiser avatar Jun 06 '18 11:06 OliverZeiser

Hi @vman : I'm on spfx 1.7, spHttpClient.beginBatch is still in preview ?

jnimmala avatar Apr 11 '19 15:04 jnimmala

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 27 '20 12:01 msft-github-bot