Version 13

    Jive allows you to store data associated with tiles. This feature is particularly convenient if you do not want to manage data in your own integration service. There are two types of tile properties that you can store in Jive:

     

    • Private properties allow you to store private data in Jive on a per-user basis. These properties are useful if you want the user to log in to their own Google account or JIRA account, for example. When associating data to a tile, the data is unique to each user on each tile instance.
    • Extended properties allow you to store shared data in Jive on a per-tile-instance basis. This is useful if you want to store shared data for a tile. Only users who can configure the tile can set extended properties.

     

    Starting with the Winter 2015 Jive Cloud Release (8c5), you can use these JavaScript calls to get and set properties:

     

    Get Private Properties


    You can acquire private properties as a JavaScript object using the following code:

     

    jive.tile.getPrivateProps( function(props) {
        ...
    });
    
    
    
    
    
    
    
    
    
    
    
    
    
    

     

    Set Private Properties


    In order to set private properties, use the following code:

     

    jive.tile.updatePrivateProps(props, function(updatedProps) {
        ...
    });
    
    
    
    
    
    
    
    
    
    
    
    
    
    

     

    The new properties object will replace the existing properties.

     

    Get Extended Properties


    You can acquire extended properties as a JavaScript object using the following code:

     

    jive.tile.getExtendedProps( function(props) {
        ...
    });
    
    
    
    
    
    
    
    

     

    Set Extended Properties


    In order to set extended properties, use the following code:

     

    jive.tile.updateExtendedProps(props, function(updatedProps) {
        ...
    });
    
    
    
    
    
    
    
    

     

    The new properties object will replace the existing properties.