AnsweredAssumed Answered

Create multiple actions for Tile-list

Question asked by yingjieg on Jan 14, 2015
Latest reply on Jan 18, 2015 by yingjieg

I create a tile-list like below: there are five list items, now I want to implement the function that when I click different item , different action pages will be loaded by Jive(The below json include several actions pages, action1.html, action2.html...). Please give me some suggestions.

Capture.PNG

 

 

 

{

    "title":"Simple Tile Action",

    "contents":[

        {

            "text":"Tile Action Test1",

            "icon":"https://community.aurea.com/servlet/JiveServlet/showImage/102-99994-1-1023036/j.png",

            "action":{

                "text":"Action",

                "url":jive.service.options['clientUrl'] + '/simpletile-list/action1.html',

                "context":{

                    "data":count

                }

            }

        },

        {

            "text":"Tile Action Test2",

            "icon":"https://community.aurea.com/servlet/JiveServlet/showImage/102-99994-1-1023036/j.png",

            "action":{

                "text":"Action",

                "url":jive.service.options['clientUrl'] + '/simpletile-list/action2.html',

                "context":{

                    "data":count

                }

            }

        },

        {

            "text":"Tile Action Test3",

            "icon":"https://community.aurea.com/servlet/JiveServlet/showImage/102-99994-1-1023036/j.png",

            "action":{

                "text":"Action",

                "url":jive.service.options['clientUrl'] + '/simpletile-list/action3.html',

                "context":{

                    "data":count

                }

            }

        }

    ],

    "config":{

        "listStyle":"contentList"

    },

    "action":{

        "text":"Visit Tutorial",

        "url":"https://community.aurea.com/docs/DOC-129789"

    }

}

Outcomes