Announcement

Collapse
No announcement yet.

Modification calendar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Modification calendar

    Good afternoon. Tell me how to add fields to the calendar. Namely, for a meeting, display the name and phone number of the contact, as well as the name of the counterparty.
    Changed the calendar.js, added a field name to it account. The console displays undefined.

    convertToFcEvent: function (o) {

    console.log(o);
    console.log(o.parent1);

    var event = {
    title: o.name,
    scope: o.scope,
    id: o.scope + '-' + o.id,
    recordId: o.id,
    dateStart: o.dateStart,
    dateEnd: o.dateEnd,
    dateStartDate: o.dateStartDate,
    dateEndDate: o.dateEndDate,
    status: o.status,
    originalColor: o.color,
    };​
    Attached Files
    Last edited by Dozent; 10-27-2022, 07:06 PM.
Working...
X