Hello, Is it possible to carry out a detach action from the client side using scripts? Kindly let me know. Cheers. Iram
Is it possible to carry out a detach action from the client side using scripts? Kindly let me know.
Hi Iram -
We don't have a client side api to detach a record. I see that you have also raised a similar request on another forum post community.progress.com/.../21510 . Is this one a different requirement than the other or same?
Iram, we do not have a public client-side API (UI Action driven) to acheive this. Would suggest you use Ajax API, rbf_updateRecord to make the required changes & then refresh the page component, a related list in this case.
To refresh page component:
var listComp = rb.newui.page.PageContext.getPageComponent(682025);
//where 682025 is the cell id of the PageCell that contains this component
Also, request you to post this requirement in IDEA's section with appropriate use-case.