magicalKhachapuri
magicalKhachapuri

Reputation: 623

mark complete from another context

I have an Account form.

In the interactions tab I have the sub grid for meetings.

I have added the new button to this Sub-grid, 'Complete the Meeting'.

I want to trigger the 'Mark Complete' button of the Meeting form from here.

How can I do it ?

Upvotes: 1

Views: 186

Answers (1)

My first choice would be using Activities subgrid instead of Appointments. I just verfied as below.

enter image description here

If that wont work for you for any reasons, then custom ribbon button is a good choice. You have to customize the command of your custom button to use javascript command, then pass the selected IDs from subgrid to ribbon button command and iterate the IDs for updating Appointment records using Xrm.Webapi in javascript function.

Upvotes: 1

Related Questions