Saturday, Oct. 21, 2017

Restrict to only one contact in MVG Contact for an Activity

Written By:

|

January 14, 2013

|

Posted In:

Requirement:

Requirement is to allow one contact that can be added to a contact MVG against an Activity(Parent). If more than 1 contact record is added an error message should be prompted to the user as “Only 1 Contact can be added for an Activity

Solution

Follow the below steps to implement this requirement:
In Siebel Tools, query the MVG applet and write a below line of code in the Server side event called WebApplet_PreInvokeMethod.

contact MVG1

Compile the applet and lauch client application to see that error is thrown to the UI when user selects more than 1 contact in the MVG applet as shown below:

contact MVG2



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.

Comments are closed.

Leave A Reply