I tried this:

var fieldValues = currentItem.get_fieldValues();  

But it returns [object object]. How can I see through this without know the column name?


You can use below script.

var fieldValues = currentItem.get_fieldValues();  


Once script is executed second statement will print the data in console in readable format.

  • In browsers, including IE, you can just log the object to the console without having to stringify it. In fact this lets you expand/collapse nodes so it's easier to read.
    – Chris Romp
    Jan 24 '18 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.