This is a discussion on Hidden Standard Fields within the Salesforce PHP Tutorials forums, part of the Salesforce category; Hi, I am currently developing an external client application for Salesforce users
-
Hidden Standard Fields
Hi, I am currently developing an external client application for Salesforce users using the partner wsdl and and what I'm doing is I get everything dynamically. From fields, to layout, etc.
During the start of my application, I am getting the organization's fields by using the describeLayout and describeSObject methods. Then I get all fields that match under the editLayoutSections property of describeLayout and the output of the describeSObject methods. Hope I'm not confusing you guys too much but from there, I create my local tables with the fields I get. It's kinda like replication the Salesforce db but not fully..
In listing my Accounts, I only use the Id and Name in my query.. which I know are standard fields and will always exist in the Account object. The problem is my client app says Name is an invalid column. I'm supposed to get all fields that are not "hidden" during the first run of the client app and the Contacts and Leads tabs are showing up properly. The Account and Opportuniy tab says "Name" is an invalid column.
I've been trying to replicate the issue since the error is coming from somebody else's account and I don't have access to that. I just want to ask if anybody has an idea about this. Can the account/opportunity Name, a standard and required field, be hidden in the edit layout? or not show up at all from describeSObject? Is there a way to edit the "edit page" layout? Because I can't find it in the website and I can only edit the "view page" layout.
Sorry if this is too long. Thanks a lot for all the future help.
-
Hi Mellorine,
Unfortunately, those two fields are a few that cannot be hidden or removed. There are other fields in the system that follow this "you cannot hide this field" mentality and they do cause a lot of issues in our org.
Sorry I didn't have better news for you.
Cheers
Similar Threads
-
By lstr in forum Salesforce PHP Tutorials
Replies: 5
Last Post: 05-15-2009, 01:40 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks