Workplace posts card

The company's channels on a screen: one post at a time with its picture or attachment, the author, channel and source, reactions and replies, beside the latest posts, rotating on the wall clock. Slack, Teams, Viva Engage and the intranet read the same way.

Category: Messages. Tags: News and announcements, Social and audience, Offices and workplaces.

Previews

Workplace posts
Canvas
Workplace posts
Corner
Workplace posts
Chip

Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

Card views, themes and publishing. Browse the gallery.

Data and privacy

This card uses its configured properties and live card data.

Properties

For theme, background, accent and position, see Common properties.

Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"From the team"maxLength: 30
rotateSecinteger15minimum: 3; maximum: 120Seconds each post is featured.

Dynamic properties

NameTypeDefaultValues and limitsDescription
postsarray[]maxItems: 50Posts from the company's channels, in any order; pinned posts lead, then the newest by at. The card features one at a time, rotating on the wall clock.
posts[].idstring""maxLength: 40Keys the post, so one already shown does not animate again.
posts[].authorstring""maxLength: 60
posts[].authorPhotostring""maxLength: 120A media reference to the author's picture; empty shows their initials.
posts[].rolestring""maxLength: 50The author's team or title.
posts[].channelstring""maxLength: 40The channel or space, such as #announcements.
posts[].sourcestring""maxLength: 20Where it was posted: slack, teams, viva or intranet.
posts[].textstringminLength: 1; maxLength: 400; Required
posts[].imagestring""maxLength: 120A media reference to a picture attached to the post.
posts[].reactionsinteger0minimum: 0; maximum: 99999
posts[].repliesinteger0minimum: 0; maximum: 99999
posts[].pinnedbooleanfalseA pinned post stays ahead of newer ones.
posts[].atstring""maxLength: 40When it was posted, an ISO 8601 instant.

Canvas example

Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.

{
  "id": "workplace-posts",
  "primitive": "card",
  "card": "workplace-posts",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "workplace-posts-main"
}

Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.

curl --request PUT "https://api.screenrig.ai/api/card-data/workplace-posts-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"posts":[]}}'