# Exchange data between Kintone Calendar Apps

**URL:** <https://forum.kintone.dev/t/exchange-data-between-kintone-calendar-apps/709>\
**Category:** General\
**Tags:** calendar-view, calendar\
**Created:** [January 23, 2023, 7:26am UTC](https://forum.kintone.dev/t/exchange-data-between-kintone-calendar-apps/709 "2023-01-23T07:26:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayron\_Rosel](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/jayron_rosel/32/179_2.png) [@Jayron\_Rosel](https://forum.kintone.dev/u/Jayron_Rosel)\
**Post date:** [January 23, 2023, 7:26am UTC](https://forum.kintone.dev/t/exchange-data-between-kintone-calendar-apps/709/1 "2023-01-23T07:26:53Z")

</div>

Hello,

As I have written in the title, I want to fetch my data to another application calendar. Because my boss wants to see the employee appointment/schedule directly to the calendar to avoid any conflicts when he assigns tasks to employees. The idea is based on Cybozu Task Scheduler, and they want me to do that in Kintone.

Thank you in advance for helping me.

---

<div class="post-metadata">

**Author:** ![Jayron\_Rosel](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/jayron_rosel/32/179_2.png) [@Jayron\_Rosel](https://forum.kintone.dev/u/Jayron_Rosel)\
**Post date:** [January 23, 2023, 11:36pm UTC](https://forum.kintone.dev/t/exchange-data-between-kintone-calendar-apps/709/3 "2023-01-23T23:36:58Z")

</div>

## Question / Problem

How do I fetch data from two Kintone Calendar Apps and display it on another Kintone Calendar App?

## Current Situation

I have created the following 3 Calendar Apps on Kintone:

| Kintone Calendar Apps | Purpose | Screenshot |
| --- | --- | --- |
| Meeting Room Schedule | Display each meeting rooms' schedule | ![Sceenshot of Meeting Room Schedule App](https://canada1.discourse-cdn.com/flex035/uploads/kintone/original/1X/aa844f6f31b34bcd213613c0c4214bd92abfc663.png) |
| Driver Schedule | Display each drivers' schedule | ![Screenshot of Driver Schedule App](https://canada1.discourse-cdn.com/flex035/uploads/kintone/original/1X/e54c608427a037e5b1f26c493daec440a26b7177.png) |
| Task Schedule | Display the task schedule to see the team's progress | ![Screenshot of Task Schedule App](https://canada1.discourse-cdn.com/flex035/uploads/kintone/original/1X/d9ae0aa59091b53bde2874e2a4fcbcaa06c62da5.png) |

### Code / Attempts

_Share your code and setup_

### Error Message

_Screenshots are helpful_

## Desired Outcome / Expected Behavior

Goal: Generate a calendar view for each employee (on the **Task Schedule** App) that shows events from the **Meeting Room Schedule** App and **Driver Schedule** App.

I want to fetch data from the two Kintone calendar Apps and display it on another Kintone calendar App directly in order to monitor each employee easily.

I hope that I explained it well, haha.  
And I hope that you can help me because I've been stuck on this problem for about 3 weeks.

Thank you so much sir,

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/chris/32/44_2.png) [@Chris](https://forum.kintone.dev/u/Chris)\
**Post date:** [January 25, 2023, 11:47pm UTC](https://forum.kintone.dev/t/exchange-data-between-kintone-calendar-apps/709/4 "2023-01-25T23:47:12Z")

</div>

Hello @Jayron_Rosel

Let me first say that you can do this in many ways.

### Method 1

If you are combining two calendars in a different calendar:

You will first need to prepare fields in _Task Schedule_ to place data from _Meeting Room Schedule_ and _Driver Schedule_.

And then, on the _Meeting Room Schedule_ and _Driver Schedule_ sides, you can use events like **Record Create - Save Submit Success Event** to send data from _Meeting Room Schedule_ or _Driver Schedule_ to _Task Schedule_ upon successful record saves.

Ref.:

- API Doc: [Save Submit Success Event - `app.record.create.submit.success`](https://kintone.dev/en/docs/kintone/js-api/events/record-create-event/#save-submit-success-event)
- Similar Forum post: [Copy data from another app - General - Kintone Developer Forum](https://forum.kintone.dev/t/copy-data-from-another-app/191/4)

* * *

### Method 2

Or you can try to display two calendars in a different app using **[Custom View](https://get.kintone.help/k/en/id/040614.html#view_whatsview_2030)**. Similar to the one you can do in a dashboard of a portal.

Ref.:

- Custom View Tutorial: [Create a Custom View - Kintone Developer Program](https://kintone.dev/en/tutorials/custom-view/create-a-custom-view/)
- Announcement section help doc: [Usage of Announcement](https://get.kintone.help/k/en/id/04070.html)

I hope this helps.

---

<div class="post-metadata">

**Author:** ![Jayron\_Rosel](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/jayron_rosel/32/179_2.png) [@Jayron\_Rosel](https://forum.kintone.dev/u/Jayron_Rosel)\
**Post date:** [January 26, 2023, 12:46am UTC](https://forum.kintone.dev/t/exchange-data-between-kintone-calendar-apps/709/5 "2023-01-26T00:46:01Z")

</div>

Hello Sir,

Could you post an example script or a more detailed tutorial for me to follow?

Thank you so much

---

<div class="post-metadata">

**Author:** ![Sean\_Tcbn](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/sean_tcbn/32/68_2.png) [@Sean\_Tcbn](https://forum.kintone.dev/u/Sean_Tcbn)\
**Post date:** [February 2, 2023, 8:23pm UTC](https://forum.kintone.dev/t/exchange-data-between-kintone-calendar-apps/709/6 "2023-02-02T20:23:55Z")

</div>

Hi @Jayron_Rosel

In the Custom View, HTML can be written as shown on the following page.

## Create a Custom View

> **[Create a Custom View](https://kintone.dev/en/tutorials/custom-view/create-a-custom-view/)**
>
> These views provide different ways to display data. Follow the instructions on the Creating Views page of the Kintone Help for information on how to create new views.

You may use the iframe tag in HTML to embed other sites as part of the page.  
Utilizing the iframe tag would embed the list of three apps in the customized view.

(Please note, the following page is not our page)

## iframe:

[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe)

I hope this helps.
