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
philbophilbo 

Contents of .profile files in Force.com IDE

Hey,

Was wondering about the files under the 'profiles' folder in my Eclipse Force.com project.  Their format looks like...

<Profile xmlns="http://soap.sforce.com/2006/04/metadata">

<applicationVisibilities>
<application>appName</application>
<default>false</default>
<visible>false</visible>
</applicationVisibilities>
. . .

<fieldLevelSecurities>
<editable>false</editable>
<field>objName.fldName</field>
</fieldLevelSecurities>
. . .

<objectPermissions>
<object>objName</object>
<revokeCreate>true</revokeCreate>
<revokeDelete>true</revokeDelete>
<revokeEdit>true</revokeEdit>
<revokeRead>true</revokeRead>
</objectPermissions>
. . .

</Profile>

 Now:  what I'm seeing is - these profile files contain information for ONLY objects that were created in this org via the IDE itself; i.e. permission information on objects/fields created via the GUI does not appear.

Is this the intended behaviour?  Is there a way to populate these files with ALL the field/object visibility/permission information?  Also - is there a plan to include the remaining profile-related metadata - e.g. page layouts, admin permissions - in these profile files?

thanks!

-philbo

MarioKorfMarioKorf
I'm not very familiar with profiles, but I will check into it. We are adding more and more to the Metadata API all the time. Page layouts is in progress...
philbophilbo
Thanks!  I'm sure there are a whole lot of us out here who are eager to see a fully-fleshed-out metadata API.

-philbo