/
Viewing the Dashboard JSON Configurations
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Viewing the Dashboard JSON Configurations

Follow the steps below to view the JSON configurations of a dashboard:
  1. Sign into the Dashboard Designer. The WSO2 Dashboard Designer home page appears with the dashboards that are available for the respective user. 
  2. Click on the Settings button that corresponds to the respective dashboard.
  3. Click Export.
    The JSON configuration that correspond to the dashboard appear.

    Example
    {  
       "id":"sales-stats",
       "title":"sales-stats",
       "description":"sales-stats",
       "permissions":{  
          "viewers":[  
             "dashboardViewerRole"
          ],
          "editors":[  
             "dashboardEditorRole"
          ]
       },
       "pages":[  
          {  
             "id":"landing",
             "title":"Home",
             "layout":{  
                "content":{  
                   "loggedIn":{  
                      "blocks":[  
                         {  
                            "id":"a",
                            "col":1,
                            "row":1,
                            "size_x":4,
                            "size_y":3,
                            "banner":false
                         },
                         {  
                            "id":"b",
                            "col":5,
                            "row":1,
                            "size_x":4,
                            "size_y":3,
                            "banner":false
                         },
                         {  
                            "id":"c",
                            "col":9,
                            "row":1,
                            "size_x":4,
                            "size_y":3,
                            "banner":false
                         }
                      ]
                   }
                },
                "fluidLayout":false
             },
             "isanon":false,
             "content":{  
                "default":{  
                   "a":[  
                      {  
                         "id":"aqzjxce41p0ysyvi",
                         "content":{  
                            "id":"usa-business-revenue",
                            "title":"USA Business Revenue",
                            "type":"gadget",
                            "thumbnail":"store://gadget/usa-business-revenue/index.png",
                            "data":{  
                               "url":"store://gadget/usa-business-revenue/index.xml"
                            },
                            "description":"Allows to view revenue by companies in US",
                            "listen":{  
                               "state":{  
                                  "type":"address",
                                  "description":"Used to filter based on state"
                               }
                            },
                            "styles":{  
                               "title":"USA Business Revenue",
                               "borders":true
                            },
                            "options":{  
                               "gadget-status":{  
                                  "type":"HIDDEN",
                                  "title":"gadget-status",
                                  "value":"not-wired",
                                  "options":[  
    
                                  ],
                                  "required":false
                               }
                            },
                            "locale_titles":{  
    
                            }
                         }
                      }
                   ],
                   "b":[  
                      {  
                         "id":"iyfaddxjgbd9rudi",
                         "content":{  
                            "id":"usa-map",
                            "title":"USA Map",
                            "type":"gadget",
                            "thumbnail":"store://gadget/usa-map/index.png",
                            "settings":{  
                               "personalize":true
                            },
                            "data":{  
                               "url":"store://gadget/usa-map/index.xml"
                            },
                            "description":"Allows to view and select US states",
                            "notify":{  
                               "state":{  
                                  "type":"address",
                                  "description":"This notifies selected state"
                               },
                               "cancel":{  
                                  "type":"boolean",
                                  "description":"This notifies cancellation of state selection"
                               }
                            },
                            "styles":{  
                               "title":"USA Map",
                               "borders":true
                            },
                            "options":{  
    
                            },
                            "locale_titles":{  
    
                            }
                         },
                         "hasCustomUserPrefView":true,
                         "hasCustomFullView":true
                      }
                   ],
                   "c":[  
                      {  
                         "id":"jcwrjf3qhzsvpldi",
                         "content":{  
                            "id":"barchart",
                            "title":"Population by Age and Gender",
                            "type":"gadget",
                            "thumbnail":"store://gadget/usa-population-by-age-and-gender/images/index.png",
                            "options":{  
    
                            },
                            "data":{  
                               "url":"store://gadget/usa-population-by-age-and-gender/index.xml"
                            },
                            "notify":{  
                               "age":{  
                                  "type":"number",
                                  "description":"This notifies the selected Age"
                               },
                               "gender":{  
                                  "type":"gender",
                                  "description":"This notifies the selected Gender"
                               }
                            },
                            "listen":{  
                               "state":{  
                                  "type":"state",
                                  "description":"Used to listen to state channel"
                               }
                            },
                            "styles":{  
                               "title":"Population by Age and Gender",
                               "borders":true
                            },
                            "locale_titles":{  
    
                            }
                         }
                      }
                   ]
                },
                "anon":{  
    
                }
             }
          }
       ],
       "identityServerUrl":"https://localhost:9443/",
       "accessTokenUrl":"https://localhost:9443/oauth2/token",
       "apiKey":"7Qafij93Uoq8fbJELIU725RclIUa",
       "apiSecret":"6ZRmYuEI3HZ5_zRXnuCCPaWyYcIa",
       "theme":"",
       "isUserCustom":false,
       "isEditorEnable":false,
       "banner":{  
          "globalBannerExists":false,
          "customBannerExists":false
       },
       "landing":"landing",
       "isanon":false,
       "enableOauth":true
    }

Related content

Viewing Dashboards
Viewing Dashboards
More like this
Viewing Dashboards
Viewing Dashboards
More like this
Viewing Dashboards
Viewing Dashboards
More like this
Viewing Dashboards
Viewing Dashboards
More like this
Viewing Dashboards
Viewing Dashboards
More like this
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.