How to associate a term from one category to the terms from another category in a framework #84
-
I am trying to setup a framework which has following categories (along with terms) mapped to sunbird master categories: 2- Activity (Medium) 3- Competency (Grade Level) 4- Competency Level (Subject) I have created above categories and their terms under a new framework using CREAT CATEGORY and CREAT TERM api as per the Framework creation document Framework core apis Now I want know how to achieve below requirement using TERM APIs: In the document it is mentioned to use UPDATE TERM api to associate terms from other categories like: End point URL ->
Here I am not having clarity that which all identifiers should be passed if I want to achieve above mentioned requirement ? Repeat this step for each Role (R1...R18), each Activity(A1, A2....,A136) and each Competency (C1,C2...,C72). Is my understanding correct or not ? Please let me know what is the right way to do it in case if my understanding is wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For associating a term with previous category terms, you will have to specify identifiers of the previous category terms. CL2 should have associationswith identifiers of C1, A1, R1. Then CL2 is filtered only when R1, A1 and C1 are selected. Lets say CL2 is associated with only C1. Then CL2 will be visible for all associations C1 has. Meaning, If C1 has associations with A2 and R2; then CL2 will get filtered for R2-A2-C1 as well. If CL2 is associated with R1-A1-C1, then it will be filtered only for that combination. |
Beta Was this translation helpful? Give feedback.
For associating a term with previous category terms, you will have to specify identifiers of the previous category terms.
CL2 should have associationswith identifiers of C1, A1, R1. Then CL2 is filtered only when R1, A1 and C1 are selected.
https://knowlg.sunbird.org/learn/product-and-developer-guide/taxonomy-and-tagging/framework-service/faqs
Lets say CL2 is associated with only C1. Then CL2 will be visible for all associations C1 has. Meaning, If C1 has associations with A2 and R2; then CL2 will get filtered for R2-A2-C1 as well. If CL2 is associated with R1-A1-C1, then it will be filtered only for that combination.