Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5168 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Najlepsza odpowiedź

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

Awatar
Odrzuć