- edited description
Package.xml not changing even if I try to retrieve the full source code
I went to Project Structure>Project Settings>Modules>module name>Illuminated Cloud under the General tab and selected the subscription type as All/Package.
But the package.xml which got generated has not changed, it still shows only these types:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ApexClass</name>
</types>
<types>
<members>*</members>
<name>ApexComponent</name>
</types>
<types>
<members>*</members>
<name>ApexPage</name>
</types>
<types>
<members>*</members>
<name>ApexTrigger</name>
</types>
<types>
<members>*</members>
<name>AuraDefinitionBundle</name>
</types>
<types>
<members>Account</members>
<members>AccountCleanInfo</members>
<members>AccountContactRole</members>
<members>Activity</members>
<members>Asset</members>
<members>AssetRelationship</members>
<members>AssistantProgress</members>
<members>Campaign</members>
<members>CampaignMember</members>
<members>Campsite_Reservation__c</members>
<members>Campsite__c</members>
<members>Case</members>
<members>CaseContactRole</members>
<members>Contact</members>
<members>ContactCleanInfo</members>
<members>ContentVersion</members>
<members>Contract</members>
<members>ContractContactRole</members>
<members>DandBCompany</members>
<members>Document</members>
<members>DuplicateRecordItem</members>
<members>DuplicateRecordSet</members>
<members>EmailMessage</members>
<members>Event</members>
<members>ExchangeUserMapping</members>
<members>FeedItem</members>
<members>ForecastingCategoryMapping</members>
<members>Idea</members>
<members>Knowledge__kav</members>
<members>Lead</members>
<members>LeadCleanInfo</members>
<members>LinkedArticle</members>
<members>Macro</members>
<members>MacroAction</members>
<members>MacroInstruction</members>
<members>Opportunity</members>
<members>OpportunityCompetitor</members>
<members>OpportunityContactRole</members>
<members>OpportunityLineItem</members>
<members>Order</members>
<members>OrderItem</members>
<members>PartnerRole</members>
<members>Pricebook2</members>
<members>PricebookEntry</members>
<members>Product2</members>
<members>Project__c</members>
<members>PushTopic</members>
<members>Scorecard</members>
<members>ScorecardMetric</members>
<members>Site</members>
<members>SocialPersona</members>
<members>Solution</members>
<members>StreamingChannel</members>
<members>Student__c</members>
<members>Suggestion__c</members>
<members>Task</members>
<members>Tracker_Bug__c</members>
<members>Trail__c</members>
<members>User</members>
<members>UserProvisioningRequest</members>
<members>Vehicles__c</members>
<name>CustomObject</name>
</types>
<types>
<members>*</members>
<name>StaticResource</name>
</types>
<version>41.0</version>
</Package>
The custom label, Permission sets, QuickAction, those are missing, Can you please help me understand where does illuminated cloud store the package.xml locally when it starts retrieving the files. I would like to see the full package.xml
Comments (8)
-
reporter -
reporter And also I am not able to retrieve list views via Illuminated cloud.
But not able to see listview and many more while retrieving the components:
-
reporter - marked as major
-
repo owner Let me preface by saying that I do not ever recommend the use of All/Package without selecting a development package. It can lead to retrieval of metadata that cannot be in turn deployed back into an org. This is a Salesforce issue where the metadata API reports metadata that is not safe to round-trip. I would recommend reading this information on how metadata subscriptions and metadata deployment/retrieval work including the various options available for each:
http://www.illuminatedcloud.com/home/deployment
With that preface out of the way, I'll explain what's happening. Changing the subscription to All/Package won't change your
package.xml
. IC only changes yourpackage.xml
when you're using a Package.xml subscription after you've added or removed metadata in the local filesystem, and by default it will prompt you before doing so. This is becausepackage.xml
files tend to be very carefully hand-maintained files. If you want the equivalent of the All/Packagepackage.xml
file, perform a Retrieve Metadata on the entire project and the one generated by Salesforce will be included in the retrieved metadata payload. You can copy that into your local project.As for retrieving
ListView
metadata, that is a child metadata type ofCustomObject
and does not result in a top-level file in the local filesystem. It comes back in the associated*.object
file. You can see the list views in the metadata retrieval dialog by opening theobjects
folder and navigating to the bottom where you'll seeListView
:Please let me know if you have any further questions or issues after reviewing this information.
-
repo owner - changed status to resolved
Resolving this as having provided explanations/pointers to documentation. Feel free to let me know if anything doesn't work as described or if you have any other questions/issues.
-
reporter Thanks for the explanation that really helped.
But for the first point, I am not able to find the package.xml provided by Salesforce when I do a retrieve metadata on my full project.
"perform a Retrieve Metadata on the entire project and the one generated by Salesforce will be included in the retrieved metadata payload. You can copy that into your local project."
Where is the package generated ? Can you let me know where is this in local drive ?
-
repo owner Make sure in the retrieval dialog you set the Contents drop-down to either Project or Module and not Context or Custom. When you choose one of the latter two, you're performing a selective retrieval and the returned
package.xml
only represents the selected subset of metadata. To prevent you from overwriting the carefully hand-craftedpackage.xml
file with something that's only sparsely-populated, IC will only include the returnedpackage.xml
if you retrieve the entire module or project.Let me know if that doesn't allow you to get this full org
package.xml
file. -
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment