If you are unable to create a new account, please email bspsoftware@techdata.com

Author Topic: SDK to get Dashboard and data module metadata  (Read 5195 times)

Revathy

  • Guest
SDK to get Dashboard and data module metadata
« on: 31 Oct 2017 06:26:58 am »
I am trying to get the Cognos 11.0.5 dashboard and data module metadata from SDK. The metadata for Dashboard is in JSON format and does not have much information. Is this the only format or do we have options to get the XML format. I read in one of the forums that report specification of Report Studio Reports and the dashboards are the same.

The metadata of data modules are just binaries? Is that how it is stored or Is there any other means to retrieve this metadata?

Thanks in advance

Offline aussieadam

  • Full Member
  • ***
  • Join Date: Mar 2017
  • Posts: 28
  • Forum Citizenship: +2/-0
Re: SDK to get Dashboard and data module metadata
« Reply #1 on: 05 Feb 2018 12:37:43 pm »
According to the SDK a Dashboard isn't a subclass of report, meaning you can't do Report dashboard = new Dashboard();
As far as I know only with reports can you set or get a specification. the dashboard class doesn't have a setSpecificaiton method, so i'm guessing you could only do it with a byte array and couldn't parse much meaningful information from that.

Offline shv22

  • Associate
  • **
  • Join Date: May 2019
  • Posts: 1
  • Forum Citizenship: +0/-0
Re: SDK to get Dashboard and data module metadata
« Reply #2 on: 27 May 2019 06:47:02 am »
So there is no way in Cognos Analytics to get the metadata for the "Dashboard" created? If not, are they are planning to have this in future?
« Last Edit: 27 May 2019 06:49:35 am by shv22 »