Skip to main content
munapatin882946
March 25, 2025
Solved

Label name in charts

  • March 25, 2025
  • 1 reply
  • 0 views

I'm developing a Help Desk application and need to create a column chart for priority. When a priority is clicked, its ID should be stored and passed to a drilldown grid but the current code is displaying the ID as the label instead.

 a!grouping(
                          field: 'recordType!HD Request.fields.priorityId',
                          alias: "priorityID
                        )

If I use 'recordType!HD Request.relationships.priority.fields.value' directly in the field, it throws an error.

Any suggestions on how to display the label name?

Thank you!

    Best answer by vyshnavin653512

    You should use the format value parameter using displayvalue() or by directly calling a rule that will fetch the name like rule!ruleToGetPriorityNameById(id: fv!value).

    1 reply

    March 25, 2025

    You should use the format value parameter using displayvalue() or by directly calling a rule that will fetch the name like rule!ruleToGetPriorityNameById(id: fv!value).