data type of display value of a column(not internal type) using rest api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2024 09:07 AM
I want to retrieve the data type of column, not internal type. I know how to get internal type using sys_dictionary, I am looking for data type of column for example
state column in task table has internal type integer but display value is string(Open, closed)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2024 12:37 PM
I'm not sure if you are needing this client side or server side, but a way to do it server side is this:
current.getElement('state').getED().internalType
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2024 10:11 PM
I am needing this client side, internal type is not what I am looking for, I am trying to get the base type or display type. For example here I am looking for data type of display_value which is string

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2024 06:13 AM - edited ‎11-19-2024 06:15 AM
I think the type of the display value is always string. I can't think of an instance where it wouldn't be. The internal value might be different, but the display value is always returned as a string.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2024 01:37 AM
this wont be true for all the columns, so how do we get this base type information for all columns? for example for made_sla display type can be boolean, parent base type will be GUID.