You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to remove parent child relationship

Received Response
edited Mar 2, 2016 3:54PM in UI Extensibility 1 comment


Hi All,

I Have a requirement like under contact i can add no of products(product object is custom object here), same product may be linked with another contact, this is happening through report. now in first contact i want to remove association of the product, for this i have created a button on products report through report control addin. when i click on this button just i want to null contact id at product record to null. below is the code but that does not working .

Code Snippet

             using System;
using System.Collections.Generic;
using RightNow.AddIns.AddInViews;
using ReportComand_for_delete.ServiceReference1;
using System.Windows.Forms;
using RightNow.AddIns.Common;
using System.Drawing;
using System.AddIn;
using System.Net;

namespace ReportComand_for_delete
    public class Class1:IReportCommand2

        private IGlobalContext gcontext;
        private IRecordContext rcontext;
        private static RightNowSyncPortClient _service;
        string prodID;
        string contId;


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!