Questions tagged [microsoft-graph-toolkit]

Questions relating to the Microsoft Graph Toolkit

Find out more about the Microsoft Graph Toolkit in the documentation or at the GitHub project page.

112 questions
0
votes
1 answer

How to correctly reset mgt-people-picker in JavaScript

I am using Microsoft Graph Toolkit's people-picker, and it configures to allow only one selection. I have a need to clear the people-picker's selected person through JavaScript on modal open. I tried resetting selectedPeople property with an empty…
Jimmy
  • 1
  • 3
0
votes
1 answer

MS Graph toolkit components with app-auth?

I am just starting on the MS Graph toolkit and had few questions. I am trying to build a simple page which would do app-auth with Azure and then have the user search component available to the user. I don't want the user to sign in and do any…
bbagaria
  • 1
  • 1
0
votes
1 answer

How to get the selected "Person Type" (user or group) from the Microsoft Graph Toolkit People Picker control in javascript?

The javascript Microsoft Graph Toolkit people picker control has an event called "SelectionChanged" that is raised when a user or group is selected in the people picker. It also has a property called "selectedPeople" that list the users and groups…
Hugo
  • 21
  • 4
0
votes
1 answer

How do I change the font family of Microsoft Graph Toolkit components?

Adding direct styling like this does not work: mgt-person{ font-family:"Roboto" !important; } Documentation does not mention being able to change the font style whatsoever.
0
votes
1 answer

How to live update JSON array from Onedrive excel file?

I am currently working on a project that aims to update a webpage based on data entered in a onedrive excel file. Currently I am running a React project locally on my PC that converts a CSV file to JSON, the CSV file is stored on the public folder…
Isaaclele
  • 29
  • 6
0
votes
1 answer

Is there a way to edit the icons used in the components?

Long story short, I have a react + typescript app running in a network with very strict firewall rules. In the past this has caused issues when using fluentUI icons in custom components in my app because we could not reach out to the CDN in order to…
Dev
  • 1
0
votes
1 answer

Mgt Person card used in fluent UI list view auto selects the row when personcard is expanded

we are using Mgt-react based Personcard in fluentUI Listview. The Listview is enabled to use multliselect. Need to avoid auto selection of row when we expand personcard. we are rendering the below component in fluentUI listview as a column
umgolla
  • 39
  • 8
0
votes
1 answer

How to clear the MGT PeoplePicker in react hooks SPFx web part?

I need to clear the the PeoplePicker after use. ; So I set addedMembers to [] but it does not work. I saw an…
Ofer Gal
  • 707
  • 1
  • 10
  • 32
0
votes
1 answer

How do I add complete functionality to Microsoft Graph Toolkit's templating?

I'm using the mgt-file-list component from the Microsoft Graph Toolkit and this code works just fine within my application after authentication. It displays a file upload button, and I can upload files into the specified folder. The files are then…
0
votes
1 answer

Retrieve custom elements with mgt-people-picker

When using the mgt-people-picker, is there a way to retrieve extension properties that are defined for the selected user?
Gargoyle
  • 9,590
  • 16
  • 80
  • 145
0
votes
0 answers

using @microsoft/mgt in angular with complex templates

How to use Microsoft mgt components in Angular with complex template like :