Forum Discussion
SharePoint Lists - how to get Display names
Anonymous,
Is the column of your SharePoint list a person/group column?
If so, you should find a expandable field column that you can expand in the Query Editor to get a hold of employee display names along with other information:
- Anonymous8 years agoNot applicable
Yes, I know that this needs to be done in PowerQuery and I know that the display names must be available, but they are deeply nested in sub-tables that are not intuitively named - I've spent quite a bit of time looking. Try it, you'll see what I mean.
I'm asking if anyone has a recipe for retrieving them - have you figured out the path through the nested tables to find the display names?
- Seward125338 years ago
Solution Sage
Mine are just there so I’d work with the share point owner to ad them to the list. You may need to get the lookup table of ID to Display name. - Anonymous8 years agoNot applicable
Anonymous,
I understand, however it would help if you could tell us what your SharePoint list looks like and what column types are in it?
I dont' really know if you can directly retrieve a person's display name fromn a sub-table unless the SharePoint list column itself is a person/group column to begin with - in this case it is quite staright-forward as the sub-table is named similarly as the SharePoint list column.
Br,
T
- Anonymous8 years agoNot applicable
I'm not talking about a person's display name. I'm taking about the display name of a column in a list.
When I retrieve the columns from a list, the names of the columns often do not match the column names displayed in SharePoint. For example:
"Primary Geography Country" is brought in as "Primary Geography Co"
"Launch: Overall Readiness" is brought in as "Launch: Overall_x002"
"Complete" gets brought is as "AllDone" (because I had originally called the column AllDone and then changed it)
"Introduction" gets brought in as "Title" (because I changed Title to Introduction)
I'm looking for a recipe to drill into the nested tables in what is returned for the list to get the display names. My hope is that these are stored consistently in the data structures, regardless of the type of data each column holds.
Dale