Onload Event

Contents

Desktop Onload Event - space.portal.show

This event triggers on the desktop Kintone Space Portal after all widgets have been displayed. Widgets refer to the Announcement, Threads, Apps, People, and Related Apps & Spaces widgets.

Event

space.portal.show

Properties of the Event Object

PROPERTY TYPE DESCRIPTION
spaceId String The Space ID.
type String The event type.

Sample Code

1
2
3
kintone.events.on('space.portal.show', function(event) {
  window.alert('Hello Kintone!');
});

Available Event Object Actions

By returning a kintone.Promise object in the event handler, the next operations can be processed after waiting for asynchronous processes in the event handler to finish.

Mobile Onload Event - mobile.space.portal.show

This event triggers on the mobile Kintone Space Portal after all widgets have been displayed. Widgets refer to the Announcement, Threads, Apps, People, and Related Apps & Spaces widgets.

Event

mobile.space.portal.show

Properties of the Event Object

PROPERTY TYPE DESCRIPTION
spaceId String The Space ID.
type String The event type.

Sample Code

1
2
3
kintone.events.on('mobile.space.portal.show', function(event) {
  window.alert('Hello Kintone');
});

Available Event Object Actions

By returning a kintone.Promise object in the event handler, the next operations can be processed after waiting for asynchronous processes in the event handler to finish.

Limitations

  • These events are only available for Spaces with the multiple threads option enabled.
  • These events are not available for Guest Spaces.