You need to sign in to do that
Don't have an account?

dashboard comp with metadata api 14.0
Hi, does anyone can retrieve dashboard component with meta data api 14.0? (prelease env)
When I tried it, salesforce retursn data bellow only against my will. (I wanted to get dashboard component..).
Does someone know why this is happening..?
****************** response soap from salesforce **************
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://soap.sforce.com/2006/04/metadata">
<soapenv:Body>
<listMetadataResponse>
<result>
<createdById>005t0000000tVaNAAU</createdById>
<createdByName>Dai Odahara</createdByName>
<createdDate>2008-09-11T08:52:35.000Z</createdDate>
<fileName>
dashboards/dashboards/CompanyDashboards.CompanyPerformanceDashboard/AdoptionDashboard.dashboard
</fileName>
<fullName>
dashboards/CompanyDashboards.CompanyPerformanceDashboard/AdoptionDashboard
</fullName>
<id>01Zt0000000DqdsEAC</id>
<lastModifiedById>005t0000000tVaNAAU</lastModifiedById>
<lastModifiedByName>Dai Odahara</lastModifiedByName>
<lastModifiedDate>
2008-09-11T08:52:35.000Z
</lastModifiedDate>
<type>Dashboard</type>
</result>
<result>
<createdById>005t0000000tVaNAAU</createdById>
<createdByName>Dai Odahara</createdByName>
<createdDate>2008-09-11T08:52:35.000Z</createdDate>
<fileName>
dashboards/dashboards/CompanyDashboards.CompanyPerformanceDashboard/CompanyPerformanceDashboard.dashboard
</fileName>
<fullName>
dashboards/CompanyDashboards.CompanyPerformanceDashboard/CompanyPerformanceDashboard
</fullName>
<id>01Zt0000000DqdtEAC</id>
<lastModifiedById>005t0000000tVaNAAU</lastModifiedById>
<lastModifiedByName>Dai Odahara</lastModifiedByName>
<lastModifiedDate>
2008-09-11T08:52:35.000Z
</lastModifiedDate>
<type>Dashboard</type>
</result>
</listMetadataResponse>
</soapenv:Body>
</soapenv:Envelope>
When I tried it, salesforce retursn data bellow only against my will. (I wanted to get dashboard component..).
Does someone know why this is happening..?
****************** response soap from salesforce **************
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://soap.sforce.com/2006/04/metadata">
<soapenv:Body>
<listMetadataResponse>
<result>
<createdById>005t0000000tVaNAAU</createdById>
<createdByName>Dai Odahara</createdByName>
<createdDate>2008-09-11T08:52:35.000Z</createdDate>
<fileName>
dashboards/dashboards/CompanyDashboards.CompanyPerformanceDashboard/AdoptionDashboard.dashboard
</fileName>
<fullName>
dashboards/CompanyDashboards.CompanyPerformanceDashboard/AdoptionDashboard
</fullName>
<id>01Zt0000000DqdsEAC</id>
<lastModifiedById>005t0000000tVaNAAU</lastModifiedById>
<lastModifiedByName>Dai Odahara</lastModifiedByName>
<lastModifiedDate>
2008-09-11T08:52:35.000Z
</lastModifiedDate>
<type>Dashboard</type>
</result>
<result>
<createdById>005t0000000tVaNAAU</createdById>
<createdByName>Dai Odahara</createdByName>
<createdDate>2008-09-11T08:52:35.000Z</createdDate>
<fileName>
dashboards/dashboards/CompanyDashboards.CompanyPerformanceDashboard/CompanyPerformanceDashboard.dashboard
</fileName>
<fullName>
dashboards/CompanyDashboards.CompanyPerformanceDashboard/CompanyPerformanceDashboard
</fullName>
<id>01Zt0000000DqdtEAC</id>
<lastModifiedById>005t0000000tVaNAAU</lastModifiedById>
<lastModifiedByName>Dai Odahara</lastModifiedByName>
<lastModifiedDate>
2008-09-11T08:52:35.000Z
</lastModifiedDate>
<type>Dashboard</type>
</result>
</listMetadataResponse>
</soapenv:Body>
</soapenv:Envelope>
To download the actual definition of a metadata component, use the fullname value returned by listMetadata() in conjunction with the Metadata API's retrieve() method. For details see the Metadata API Developer's Guide.
Speaking of downloading the actual definition of a metadata component by retrieve, I'm not sure that retrieve method returns actual component because its result type does not have dashborad, document, etc component wsdl difinition.
Using full name value ought to "specificFiles" of RetrieveResult?
Thank you very much