function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ssikorassikora 

Force.com IDE - Winter 09 - Custom Report Types

When using the latest version of the IDE, there are 2 fields on the Campaign Member object that are available in the report and history list (as of Spring 07). The fields are:

  1. Member First Associated Date
  2. Member Status Update Date
The fields get downloaded correctly into the XML. When we try to deploy the report type to another ORG, it complains that the fields are not there. These fields are not available in the API. Has anyone else seen this?

Are there any workarounds other than manually recreating the Report types?


Message Edited by ssikora on 11-03-2008 02:37 PM
thomkthomk
Hi, can you provide the XML for a report that you've retrieved that's failing?
thomkthomk
(actually, the XML for the report type that you've retrieved)
JonPJonP
I tried this and was able to deploy the following Report Type containing those two Campaign Member fields.  The XML names are different from the UI labels, but I confirmed in my deploy target organization that they are the same.

Here's the contents of my "Campaign_Member_CRT.reportType" file:

Code:
<—xml version="1.0" encoding="UTF-8"–>
<ReportType xmlns="http://soap.sforce.com/2006/04/metadata">
    <baseObject>Campaign</baseObject>
    <category>campaigns</category>
    <deployed>false</deployed>
    <description>This is the description</description>
    <join>
        <outerJoin>false</outerJoin>
        <relationship>CampaignMembers</relationship>
    </join>
    <label>Campaign Member CRT</label>
    <sections>
        <columns>
            <checkedByDefault>false</checkedByDefault>
            <field>Id</field>
            <table>Campaign</table>
        </columns>
        <columns>
            <checkedByDefault>true</checkedByDefault>
            <field>Name</field>
            <table>Campaign</table>
        </columns>
        <masterLabel>Campaigns</masterLabel>
    </sections>
    <sections>
        <columns>
            <checkedByDefault>false</checkedByDefault>
            <field>MemberCreatedDate</field>
            <table>Campaign.CampaignMembers</table>
        </columns>
        <columns>
            <checkedByDefault>false</checkedByDefault>
            <field>MemberLastModifiedDate</field>
            <table>Campaign.CampaignMembers</table>
        </columns>
        <masterLabel>Campaign Members</masterLabel>
    </sections>
</ReportType>

 
In this case, my source organization was Developer Edition and my target organization was Enterprise Edition.  Is there anything unusual about your target organization?  If you try to create a Report Type directly in your target organization, are those two Campaign Member fields available there?

Jon
salesforce.com Product Manager