Maybe it is a very simple fix for this but i have problem with retrieving the m_value from a SP.result.

SP.Result {}
constructor:function ()
customFromJson:function ()
fromJson:function (a)
get_value:function ()

When i do get_value() it returns the value 0 and not the m_value false


You need to re-execute the query after got the SP.result object.

just run context.executeQueryAsync and you should be fine.

| improve this answer | |

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.