Detach a record - Client side - New UI

Posted by IramK on 17-Nov-2015 05:53

Hello,

Is it possible to carry out a detach action from the client side using scripts? Kindly let me know.

Cheers.

Iram

All Replies

Posted by Manooj Murali on 24-Nov-2015 00:21

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?

-Regards

Posted by Mohammed Siraj on 24-Nov-2015 00:29

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

if(listComp){

 listComp.refresh();

}

Also, request you to post this requirement in IDEA's section with appropriate use-case.

This thread is closed