Skip to main content
munapatin882946
New Participant
Mar 25, 2025 6:51 AM UTC
Solved

Label name in charts

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!

    Participating Frequently
    Mar 25, 2025 6:57 AM UTC

    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

    Participating Frequently
    Mar 25, 2025 6:57 AM UTC

    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).