E
E
Erl2017-10-30 09:22:08
JavaScript
Erl, 2017-10-30 09:22:08

How to view data in js?

59f6c4343395c420734783.png
there is a list with news:
var linkTitle = ctx.CurrentItem.LinkTitle;
var dateNews = ctx.CurrentItem.Modified;
I'm trying to get the title of the news with a link, but it returns undefined, but when I just take the title, everything is fine
. I display the list of columns through: retrieveFieldsOfListView("News","Test")
Modified
_x041a__x0440__x0430__x0442__x04
LinkTitleNoMenu
Title
LinkTitle
Question, how can I see the data contained in these columns? is it possible that there are simply no values ​​in the LinkTitle? Or tell me what could be the problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-10-30
@NeiroNx

In general, undefined means that the variable is not defined - most likely an error in the variable name.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question