Hello all,
I think I have a solution. In the PageReceived embed of my API Client, I process the returned JSON data. I set the form field names like this:
p_web.SSV('PatMKD:LATERALITY', jsonItem.GetValueByName('SiteOfDCIS'))
p_web.SSV('PatMKD:BIOPSY_TYPE', jsonItem.GetValueByName('BiopsyType'))
p_web.SSV('PatMKD:PALPABILITY', jsonItem.GetValueByName('Palpable'))
p_web.SSV('PatMKD:TUMOR_SIZE', jsonItem.GetValueByName('TumorSize'))
p_web.SSV('PatMKD:NUCLEAR_GRADE', jsonItem.GetValueByName('Grade'))
As I mentioned earlier, on the NetWebForm I have a button that calls the API Client procedure. On the Client-Side tab of this button, I reset the fields shown above. Works great! Fields on the form are populated with the data from the API Client, I click Save and I'm done. The key is to set the prototype/parameter of the API Client window (a standard Clarion window) to "NetWebServerWorker p_web". This gives it access to the session data.
Thanks,
Jeff King