Forum Discussion
Jarkko Seppo Tapani Tornberg
Sep 05, 2017Brass Contributor
Multiple SPFx web parts using Graph API on the same page, is this possible?
Scenario: You have two SPFx web parts that users can add on a page. One web part is fetching user’s calendar events, another one is fetching user’s emails. Both use Graph API and both need different ...
Brent Ellis
Sep 05, 2017Silver Contributor
Following this, I ultimately want to do the same thing. Right now I am doing this on a classic page with multiple script editor web parts, trying to learn SPFX currently.
I've got one function that gets the token, then once I have verified I have the token, I call the various functions that make the graph calls and populate the results in each SEWP. Havent figured out how to mimic this in SPFX.
I've got one function that gets the token, then once I have verified I have the token, I call the various functions that make the graph calls and populate the results in each SEWP. Havent figured out how to mimic this in SPFX.