-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MGT component to get data from term store #634
Comments
Hello anoopt, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
Hi @anoopt, Thanks for submitting this proposal! This is a great idea for a new SharePoint focused component. This is not in our current roadmap, but would you be willing to implement this and submit it as a contribution? We are actually running a contest currently and awarding prizes for good contributions! Find more details here: https://github.com/microsoftgraph/microsoft-graph-toolkit/blob/main/contest.md |
Thank you @shweaver-MSFT - I am willing to implement this. Can you please assign it to me? It might take some extra time for me to complete this. |
Hi @sebastienlevert - This is the issue I was talking about earlier in the chat :) I am happy to work on this with the following details if ok? mgt-taxonomy-pickerOverviewThe taxonomy picker is a component that can query any Microsoft Graph API and render a dropdown control allowing selection of a single term.
User ScenariosSelect a term from a term setSelect a term from a term in a term setSelect a term from a term in a term set in a different languageProposed SolutionExamples
Properties and Attributes
Events
Templates
APIs and PermissionsPermissions required by this component are |
This is an awesome spec you have there! I invite you to create a PR to the /specs folder with the "specs" part there so we can review inline. The one scenario I have in mind, is what would be the experience for a "cascading" selection? Multiple |
Thank you @sebastienlevert . I will create a PR to the specs folder. With respect to your question on the "cascading" selection, yes multiple |
So it would be to the developer to build their own cascade, right? |
That is right Seb. I have created a PR with the spec and have targeted it to the |
* feat: added spec for mgt-taxonomy-picker refs: #634 * feat: made changes as per the review comments * feat: made changes as per the comments. --------- Co-authored-by: Sébastien Levert <[email protected]>
Proposal: A new component that displays data from term store using the Microsoft Graph APIs for Taxonomy
Description
A dropdown or a similar control that gets the child terms under a specified
termset id
and outputs the details (id, name).There should also be capability to get child terms under a specified
term id
.Rationale
The output of this component can be used in tagging data.
Apart from tagging, the output of the component can be used to filter data or display relevant information related to the selected term.
This request is originating from this tweet by Jeremy.
Preferred Solution
Get the required child terms under a termset and child terms under a term using the Microsoft Graph Taxonomy API.
Either id of a termset or id of a term needs to be supplied to control.
Advise is need on the look and feel please. Maybe something on lines of this GIF.
Additional Context
The SPFx webpart which uses the Microsoft Graph Taxonomy API can be found here.
Apologies if I haven't included any other required information.
The text was updated successfully, but these errors were encountered: