1

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

SP.Result {}
m_value:false
__proto__:Object
constructor:function ()
customFromJson:function ()
fromJson:function (a)
get_value:function ()
m_value:0
__proto__:Object

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

0

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.