Timeline for How to display Account visualforce page on Case layout?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11, 2017 at 9:58 | comment | added | Jacob K | Working. Thanks ! I'm going to read a bit more about apex. | |
Jul 11, 2017 at 9:57 | vote | accept | Jacob K | ||
Jul 11, 2017 at 9:53 | comment | added | Ankita | You can use SOQL to query the account Id field or simply use AccountId in the VF page to resolve the issue. I have updated the VF page code snippet. | |
Jul 11, 2017 at 9:49 | comment | added | Ankita | AccountId field is not being used in the VF page and it was used in controller. Therefore, that error occurred. Refer developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/… | |
Jul 11, 2017 at 9:48 | comment | added | Jacob K | Actually i'm new with apex, could u explain how to query acc.id ? | |
Jul 11, 2017 at 9:47 | history | edited | Ankita | CC BY-SA 3.0 |
added 18 characters in body
|
Jul 11, 2017 at 9:23 | comment | added | Ankita | Every object in Salesforce has Id. Yes, account holds information about companies. | |
Jul 11, 2017 at 9:22 | comment | added | Jacob K | Does account have an Id? I think it's object and holds information about companies. The User object is 'User' and holds information about the Salesforce users, so User has an ID. Am i right? There is error with this code "Content cannot be displayed: SObject row was retrieved via SOQL without querying the requested field: Case.AccountId | |
Jul 11, 2017 at 8:27 | history | answered | Ankita | CC BY-SA 3.0 |