1

Hi all i am new to salesforce please help me out from this, I have VF page to override standard Account "new" button page, In that VF page i have Parent Account field which will get the Lookup to Account Record and another problem is i am not able to retrive billing and shipping address fields , I'm facing problem and can't able to resolve it.Please help me out from this

3

You can override a Visualforce by navigating to:

Setup > Customize > Accounts > Buttons, Links, and Actions > then find a row have label named "New".

Click "Edit" there to set the Visualforce page.

For other custom action you can use "Extensions" for finding parent account or other details.

enter image description here


Field may not be visible due to FLS permission:

Perhaps you don't have filed level permission for those fields.

Go to Setup > Manage User > Profile | Select the profile and check for Field Level Security permission for the "Account Object.


Address type fields need to be will need to reference them individually. Like: BillingCity, BillingCountry, BillingState, BillingStreet etc.

Example: <apex:inputfield value="{!Account.BillingPostalCode}"></apex:inputfield>

  • and also i am not able to access billing address and shipping address.. means that Billing Street , Billing City , Billing State/Province Billing Zip/Postal Code ,Billing Country and same for shipping also – Tanmay Feb 12 '15 at 7:24
  • @aryan Aren't those fields not visible on page or something else? – Ashwani Feb 12 '15 at 8:42
  • ya those fields are not visible on page – Tanmay Feb 12 '15 at 8:55
  • Perhaps you don't have filed level permission for those fields. Go to Setup > Manage User > Profile | Select the profile and check for Field Level Security permission for the "Account Object. @aryan – Ashwani Feb 12 '15 at 9:05
  • ok that is cool ...but what about parent account field ...should i need to build a custom lookup for that ??? – Tanmay Feb 12 '15 at 9:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.