How do I get the column label of a specified field in a View field specified in a View table?

Yuya2009
Tera Contributor

When I use GlideRecord('Database view name'), I can get the field label of the record if the record exists in the list screen of the Database view, but if the record does not exist, I cannot get the field label. However, if the record does not exist, the field label cannot be obtained.
Can I use GlideReocrd to get the column label name of the field specified in the View Field from the View table setting?

スクリーンショット 2022-10-05 172148.png

スクリーンショット 2022-10-05 172321.png

2 REPLIES 2

Saurav11
Kilo Patron

I did not get you query, when you say column label what do you mean the name which you can select for the fields will be the same as they are on the actual table

Dear Saurav11

We would like to use GlideReocrd to get the column labels of the fields[View fields] in the table specified[View tables] in the Database View.