Enable full_update for javascript models

M Mark Ross 3 years 6 months ago
1 1 0

I would like to be able to enable full_update (sync all model attributes) when performing an PUT (update) on my javascript models.  I see that its possible in Ruby via:

Rhomobile | Using Rhom in Ruby (search for enable: full_update)

But all of my models (in Rhodes and RhoConnect) are in javascript.  I've tried the following with no success:

model.enable('full_update');

model.set('full_update', true);

neither of which have any affect.  The app only sends changed attributes on the model.  Is there any way to send all attributes for a PUT (update) operation?

I've seen this "workarond" mentioned, but its not practical:   I shouldn't have to append dummy characters just to get attributes to sync.

Any help is greatly appreciated.

-Mark

Please Register or Login to post a reply

1 Replies

K Kutir Mobility

Mark,
Have you tried it with latest RMS (4.1) ?

Visnupriya R
Kutir Mobility

CONTACT
Can’t find what you’re looking for?