Skip to Content
Menu
This question has been flagged
2 Replies
5169 Views

Hi,

I want to see all the meetings that I created in the calendar module in the field service calendar view.  So that whenever I try to create a new task to a user I wanted to see whether the user is available or is he having any meetings on that day. 

Thanks a lot.

Avatar
Discard
Best Answer

Hi,

I think we can add only one models record in a calendar view. But you can see in the base calendar view meetings as well as the time-off is present. What they have done here is whenever a time-off gets validated the corresponding meeting gets created. That is the time off in the calendar is actually a meeting. So you can do the same way like what they have done here. Whenever a meeting gets created a corresponding task should create in the project.task model  with all the necessary values like name , start date n end date etc. By this way you can see the meetings in the field service calendar view.

Regards

Avatar
Discard
Author

oh Great, It works for me. I super the create function of the calendar.event model and write the code to create a task each time a meeting created. So I can see the meetings inside the Field service calendar view .

Thanks a lot for your quick answer

Best Answer

Hi Sergio, can you please share the code you used for this calendars action? Many thanks. 

Avatar
Discard