OK, I know the subject seems confusing, here's the issue: I have a disconnected, mobile app with a UX component containing two Lists, LIST1 and LIST2, each list has an associated Detail part. LIST1 contains a (naturally) list of records I'll call "Stops", LIST2 contains a list of "Pictures", Stops->Pictures is 1-Many (so in fact at any one time LIST2 contains all Pictures associated with the currently selected Stop). Each list has an attached "Synchronize" button and each of their respective details has a "Save" button.
My question is: Say I make dirty two Stop records, call them Stop #1 and Stop #2, by editing some data and touching "Save" for each. Then I select Stop #2 and dirty the related LIST2 by adding or editing and saving one or more picture records. So Stop #1 is dirty, Stop #2 is dirty (and dirty by inheritance) and of course there are several dirty Picture records corresponding to Stop #2. All good. NOW I touch "Synchronize" for LIST2: My IMPRESSION was that Alpha would send just the Stop #2 LOGICAL RECORD; i.e. the Stop #2 record and all dirty Picture records FOR THAT STOP. However, when I experiment with this, it seems that Stop #1 is synchronized as well.
Now the Release Notes for "Disconnected Applications" seems to imply that only the single logical record would be synchronized, but perhaps this has something to do with whether or not you send the option parameter of the {dialog.Object}.saveListEdits method. But if I'm synchronizing LIST2 then specifying {rows:current} would seem to mean that only the currently selected record in LIST2 should be synchronized. If I'm touching the "Synchronize" button linked to LIST2 there's no way to instruct Alpha to send only the single logical record. Is the only way to do that to require that the "Synchronize" button attached to LIST1 be used?
Have I confused all of you enough already? :) If so then I apologize, but I'd really like to know how this works.
Thanks in advance for any insight.
My question is: Say I make dirty two Stop records, call them Stop #1 and Stop #2, by editing some data and touching "Save" for each. Then I select Stop #2 and dirty the related LIST2 by adding or editing and saving one or more picture records. So Stop #1 is dirty, Stop #2 is dirty (and dirty by inheritance) and of course there are several dirty Picture records corresponding to Stop #2. All good. NOW I touch "Synchronize" for LIST2: My IMPRESSION was that Alpha would send just the Stop #2 LOGICAL RECORD; i.e. the Stop #2 record and all dirty Picture records FOR THAT STOP. However, when I experiment with this, it seems that Stop #1 is synchronized as well.
Now the Release Notes for "Disconnected Applications" seems to imply that only the single logical record would be synchronized, but perhaps this has something to do with whether or not you send the option parameter of the {dialog.Object}.saveListEdits method. But if I'm synchronizing LIST2 then specifying {rows:current} would seem to mean that only the currently selected record in LIST2 should be synchronized. If I'm touching the "Synchronize" button linked to LIST2 there's no way to instruct Alpha to send only the single logical record. Is the only way to do that to require that the "Synchronize" button attached to LIST1 be used?
Have I confused all of you enough already? :) If so then I apologize, but I'd really like to know how this works.
Thanks in advance for any insight.
Comment