Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2094
Establish Whether an Appointment object has been COPIED using CTRL+Drag
posted

Hi,

I hold some custom information about an appointment object in the Appointment.Tag.... It is an AUDIT Trail, which tracks changes etc.

I need some way of establishing whether an appointment object has been copied. I need to find this information out either during the drag or immediately after.

Once the copy has been made, I want to clear this Tag object and replace it with a brand new Audit trail.

Any ideas?

Thanks In Advance
Aaron

Parents
  • 2094
    Offline posted

    Unfortunately I can't use the "AfterAppointmentAdded" routine because the copy behaviour is as such (and please correct me if I am wrong):

    • When user CTRL + Drags, a copy is created and left in the original position. The original appointment is moved and "Appears" to the user as being the copied appointment, however it is Actually the original appointment.

    This is also explains why when you make a copy of the an appointment there are TWO appointment objects which have changed (If using a dataset/table, then this gives you TWO changed datarows)

    I can understand why this behaviour is as it is, but I can't think of any other way to detect if an appointment has been copied and to set some properties on that copied object.

    Any ideas?

    Cheers

    Aaron

Reply Children
No Data