Reply
Contributor
Jothin
Posts: 8
0

Eclipse Issues??

Hi,

I am trying to compare the metadata of profiles on 2 different environments.

But all I can see in the metadata is class access and page access tags. There is nothing related to field accessibility and other stuff. Can anyone point out the problem....??? Is it eclipse??

Trusted Contributor
JeffM
Posts: 452
0

Re: Eclipse Issues??

Using Force IDE, I see all the Profile settings (fieldaccess, recordtypes, etc) in the metadata from my org.   Try looking at the XML file directly to see what's in the disk file.

Contributor
emvious
Posts: 4
0

Re: Eclipse Issues??

Keep in mind that the content of the profile metadatafile files depends on the other metadata you requested from the org.

 

So for example if your package.xml in your force.com project looks like this.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexPage</name>
    </types>
    <types>
        <members>*</members>
        <name>Profile</name>
    </types>
    <version>26.0</version>
</Package>

  When you do a refresh from server on your force.com project the profile metatadata files will only contain the classAccesses and pageAccesses tags.  

 

If you package.xml looks like this

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexPage</name>
    </types>
<types>
<members>*</members>
<name>CustomObject</name>
</types>
<types> <members>*</members> <name>Profile</name> </types> <version>26.0</version> </Package>

 

Then your profile metadata files will also include the fieldPermissionsobjectPermissions, and recordTypeVisibilities  tags.