I tried this:

var fieldValues = currentItem.get_fieldValues();  

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

1 Answer 1


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, 2018 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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