I'm using sp.js and I'm confused, how to update property of property? For example I have:
Item: {
Title,
Image: {
Url: 'xxx',
Description: 'xxx'
}
}
I've tried .load(Item)
and then image = Item.get_item('Image')
but image.set_item('Url', 'smthnew')
and .update()
fails...
How to actually update Image.Url via .update()
?
Thanks a lot!