Get Space Element
Get Space Element - kintone.space.portal.getContentSpaceElement()
Retrieves the empty space element of a Space Portal's header. The Space must be multi-threaded.
The area is highlighted in red in the image below.
Function
Desktop
kintone.space.portal.getContentSpaceElement()
Mobile
kintone.mobile.space.portal.getContentSpaceElement()
Parameters
- none
Returns
- The HTML element of the Space Portal's header.
- null is returned for pages where the API cannot be used.
Sample
|
|
Available Pages (Desktop)
- Top portal page of Spaces with the multiple threads option enabled
- Notification details view that displays the Space Portal
Available Pages (Mobile)
- Top portal page of Spaces with the multiple threads option enabled
Limitations
- These APIs are only available for Spaces with the multiple threads option enabled.
- These APIs are not available for Guest Spaces.
- The appearance within the space element is not guaranteed to always stay the same. This is because future updates to Kintone's CSS may cause the style within the element to change.