AnsweredAssumed Answered

How to bind a tile to an instance?

Question asked by Mirko Swillus on Feb 1, 2016
Latest reply on Feb 18, 2016 by Mirko Swillus

Hi Jivers,

 

I'm trying to use the private / extended props feature in Tiles on Jive 8.0.2.1 OnPrem and I know the document Private Properties and Extended Properties for Jive Tiles, where the author states this feature is available on Jive 8c5. Now that I have the Getters and Setters on the jive.tile object, I was hoping that this is functioning. But whenever I use the setter or the getter on both the private and the extended API, I'm getting this error Object (using the call jive.tile.getPrivateProps( function(props) {}) ):

 

{error: "No bound instance for storing private props"}

So now for the questions:

  1. Can I use this feature in Jive 8.0.2.1 On Prem?
  2. If so, how do I manage to bind this Tile or the AddOn which contains the Tile to my instance?

 

Here is my definition.js for that Tile:

 

{
    "displayName": "mkos-view-tile",
    "name": "mkos-view-tile",
    "description": "mkos-view-tile",
    "style": "CUSTOM_VIEW",
    "displayWidth": "ALL",
    "dataProviderKey": "internal",
    "pageTypes": [
        "PLACE",
        "USER"
    ],
    "icons": {
        "16": "https://developer.jivesoftware.com/DeveloperAssets/images/icons/jivedev-xsmall.png",
        "48": "https://developer.jivesoftware.com/DeveloperAssets/images/icons/jivedev-small.png",
        "128": "https://developer.jivesoftware.com/DeveloperAssets/images/icons/jivedev-med.png"
    },
    "view": "/mkos-view-tile/view.html?features=os-2.5,core-v3,jq-1.6,tile,oauth,responsive"
}

 

 

Thanks in advance,

Mirko

Outcomes