Property 'beginBatch' does not exist on type 'SPHttpClient'

%3CLINGO-SUB%20id%3D%22lingo-sub-438447%22%20slang%3D%22en-US%22%3EProperty%20'beginBatch'%20does%20not%20exist%20on%20type%20'SPHttpClient'%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-438447%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20-%20I'm%20trying%20to%20use%20OfficeUIFabricPeoplePicker%2C%20below%20is%20snippet%20which%20has%20error%20around%20beginbatch.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20629px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108298i6AC5E1FA97FADDC2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EUpon%20further%20research%2C%20I%20found%20post%20which%20says%26nbsp%3B%26nbsp%3BspHttpClient.beginBatch%26nbsp%3Bis%20still%20in%20preview%20so%20it%20has%20now%20been%20moved%20to%20the%26nbsp%3Bplusbeta%26nbsp%3Bchannel%20in%20SPFx.%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F1956.%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F1956.%26nbsp%3B%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI'm%20using%20spfx%201.7.0%20and%20spHttpClient.beginBatch%20is%20still%20in%20preview%20%3F%20If%20so%2C%20is%20there%20any%20replacement%20%3F%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20in%20advance.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello - I'm trying to use OfficeUIFabricPeoplePicker, below is snippet which has error around beginbatch. 

 


Capture.PNG

Upon further research, I found post which says  spHttpClient.beginBatch is still in preview so it has now been moved to the plusbeta channel in SPFx.  https://github.com/SharePoint/sp-dev-docs/issues/1956. 

 

I'm using spfx 1.7.0 and spHttpClient.beginBatch is still in preview ? If so, is there any replacement ? 

 

Thanks in advance. 

0 Replies