Hi all,
Configuration: CA SDM 12.9, MS SQL 2012
i got question about updating object from another object.For example i have form detail_cr.htmpl and i would like to update object zpm_portal.
I tried to build web URL and execute it by AJAX (function SyncAjaxCall). I was inspired by We encounter an issue with customized code not working in every browser except for Internet Explorer. Has anyone encountered the same issue?
This code tried to change value zpm_portal.cr_id from NULL to 'cr:519696' (cr_id SREL -> cr.persistent_id)
var sURL = cfgCgi +
"?SID=" + cfgSID +
"+FID=" + fid_generator() +
"+OP=UPDATE" +
"+SET.id=400066" +
"+FACTORY=zpm_portal" +
"+KEY.cr_id=" + escape("cr:519696");
SyncAjaxCall(sURL);
But result of this call was error "AHD04400:Argument error".
My next try was with modified function parameters
SyncAjaxCall(sURL, "POST", 1000, 1000);
But the result was same.
Has anyone experience with this problem? If you have another way to update object from another object please let me know. Btw. SPEL is a last way, i prefere form modification.
Thanks
Lumir