Hello!
I hope you can enlighten me on this.
I am trying to call all 'case categories' and 'category types'. Basically what you see here:


I'm trying to get something similar to the 'Case category' field to appear. But when trying it I get the following error:
Unable to cast object of type 'Dynamics.AX.Application.FormStringControl' to type 'Dynamics.AX.Application.FormReferenceControl'.
I understand that the error occurs when trying to convert the 'String' to the data type that belongs to 'Case category'. But I have created my field with the same properties as the original, and in the 'Category types' I have no problem calling it. I want to know if anyone knows how I could solve this.
Here's an example of the form I'm designing:
[View:/cfs-file/__key/communityserver-discussions-components-files/765/2500.AX-365-on-DESKTOP_2D00_D03BVN5-_2D00_-Virtual-Machine-Connection-2022_2D00_05_2D00_05-09_2D00_49_2D00_52.mp4:320:240]