getTaggedCases(caseID, c11nEnv)
Obtains the view to render the list of cases associated with a specific tag.
Returns
A Promise that resolves to an object.
Parameters
Name | Type | Description | Required |
caseID | string | The ID of the case from where the view must be downloaded. | ✅ |
c11nEnv | object | The name of the context where the API is being called. | ✅ |
Usage example
In this example, the API obtains the view that renders the list of cases associated
with a specific tag in a case whose ID is W-102
.
PCore.getTagUtils().getTaggedCases('W-102', 'app/primary_1')
.then(tags => {
// tags array
}).catch(err => {
// errors
});
Previous topic APIs in the TagUtils module Next topic getTags(caseID, c11nEnv)