Wednesday, Aug. 16, 2017

Scriptless way to remove Associate/Dissociate relationship in MVG applet

Written By:

|

September 4, 2012

|

Posted In:

Requirement:
The requirement was to clear the association and dissociation in a MVG applet i.e. remove “Add” and “Remove” buttons from the MVG applet. This should only be accomplished as soon as the Parent BC record is saved in the database.

It is highlighted in Red as below:

associate dissociate in mvg1

A scriptless solution to achieve the above requirement is described below:

Solution:

The trick here is to make the MVG read only where ever a Parent BC record is created in the database or the newly created record is now updated in the database. Just follow the below steps to catch the trick and implement the requirement in 2 simple steps:

1. Go to your Parent BC in Tools. Locate Field object under Business Component and create a new record as below:

associate dissociate in mvg2

2. Go to your child BC i.e. on which MVG applet is based on and create a new Business Component User Property as below:associate dissociate in mvg3

Compile the two objects. You will find the result as below where Add/Remove records in a MVG applet as soon as the parent record is saved:

associate dissociate in mvg4



Share This Article

About Author

Gurdeep

Hi, I am sharing my experience to alleviate beginners with open UI and HI version of Siebel CRM. I work in Sun Life Financials and can be reached via IT Tool box as well. Thanks.

  • Kaushik

    Thanks A lot Sir, This, not directly, but helped me in controlling shuttle applet behavior very well.