relookup related fields with Web-client...

Hi,

I am using application.createWindow to show a related dataset in a JSWindow.MODAL_DIALOG. In that window I create a duplicate record which also creates a new record in the original form. All of that works fine and in Smart Client the newly created record data in the original form will also be visible in related fields from that original form after running the ‘relookup’ function. However in smart client that related data doesn’t show up after creating the records. If I manually go to a different record and come back it does but not straight out of the method. I’d really like that new related fields to show because some of that data might need to be edited (as they were simply duplicated from a record and some values might be different).

I haven’t really done much with web client so not sure if there is some other way to get it to refresh. Anything else I should try?

i guess you mean “in the Webclient it doesn’t work”?

Can you make a sample for this and attach this to a case?
which version of servoy do you use?

Yes web client of course. End of a long day. And Servoy 6.0.3. I’ve used Safari but I’ll check Firefox//Chrome later this morning. Can I send just the solution without data?
Just to be clear the method works fine, the data for the new related record is there but just doesn’t show in webclient until the user does some action like going to the previous record and back to the new one.

if it works with empty data then just the solution is fine