Skip to content

Jitendra Zaa's Blog

  • Blog
  • Home
  • Videos
  • About Me
  • Buy
    • Mastering Visual Studio and Salesforce DX
    • Apex Design Patterns – Salesforce

Tag: Person Account

Salesforce Interview Questions – Part 24 – Person Account

231. How much space is taken by each Person Account record ?
Ans : As it acts as Account (2kb) and Contact (2kb), total space taken is 4kb.


232. Can we create a field on Person Account directly ?
Ans : No. We need to create a field on contact which will appear for Person Account as well. Fields created on Contact appear on Account with extension __pc.


233. Can we select Person Account as parent for Business Account  and create Account hierarchy ?
Ans: Person Account is used for B2C & Business Account is B2B model in Salesforce. In real life, headquarter or head office of business Account can never be person Account. Therefore we cannot choose Person Account as parent Account for Business Account. It will throw error –Parent Account may not be a person account.


234. Can we select Business Account as parent for Person Account  and create Account hierarchy ?
Ans: No. Standard Field Parent Account would not even appear on Person Account page layouts if we try to add it.

Continue reading Salesforce Interview Questions – Part 24 – Person Account

Published July 17, 2018
Categorized as Salesforce Tagged Interview Questions, Person Account

Salesforce Interview Questions – Part 22

220+ Salesforce Interview Questions
220+ Salesforce Interview Questions

211 : While creating JavaScript button to execute anonymous apex, what should you keep in mind ?
Ans : End user must needs to have “Apex Author” permission and this is something should not be granted to end user. Also, while creating JavaScript button, user must be aware that its only supported in Salesforce classic and not in Salesforce Lightning.


212 : How to enable truncate custom object feature in Salesforce ?
Ans : Navigate to “App Setup | User Interface” and select “Enable Custom Object Truncate”.


213 : What may be reason truncate button is not visible on Custom Object ?
Ans :

  • Are referenced by another object through a lookup field or that are on the master side of a master-detail relationship
  • Are referenced in a reporting snapshot
  • Have a custom index or an external ID
Continue reading Salesforce Interview Questions – Part 22
Published December 1, 2015
Categorized as Salesforce Tagged Chatter, Connect API, Interview Questions, Person Account, Report

Apex, Visualforce, Data Loader and SOQL Interview Question – Part 17

161 : Sometimes while deleting record it gives error “Object cannot be Deleted”. What is the reason for this kind of error ?
Ans :
This is generic error message prompted by Salesforce many times, which is not well informative. To get informative message, we can try to delete same record in “Developer Console”. In Developer Console Debug log, we will get exact error message.
Example : Lets say there is one record which is parent of more than 2000 records and grand parent of 5000 records. In such scenario from developer console it gives error something like “record cannot be deleted because it has many associated objects” However in User Interface, it will just display that “Object cannot be deleted.“


162 : Why are Visualforce pages served from a different domain?
Ans :
If we see carefully, all our Visualforce pages are served like “c.YOURSERVER.visual.force.com/apex/YOURPAGENAME” ,
And because of this most of time we run into Same-Origin Policy error in Javascripyt if we try to access parent page from Iframe. Following reason is explained by one of the evangelist of Salesforce:

“The move to separate domains has one very specific purpose: leverage the browser security model (same domain policy) to protect our customers and the salesforce.com service from cross site scripting and cross site request forgery attacks.

Moving to the serving pages from separate domains is a critical component of our ongoing commitment to insure the highest level of security and availability for everyone.

In the world where everything is served from the same domain any custom page that you visit had full access to any other page in your org and also any page served from salesforce.com itself. This included potentially malicious code that was installed as part of a force.com package.”

Continue reading Apex, Visualforce, Data Loader and SOQL Interview Question – Part 17

Published October 10, 2013
Categorized as Apex, Salesforce Tagged Apex, Community, DataLoader, Eclipse, Field Level Security, FLS, Google Docs, Interview Questions, Person Account, Report, Salesforce, SOQL, Standard Report Visibility, Winter 14

Search Blog Content

Subscribe to Blog via Email

Never miss a post. Provide your email address to get latest blog posts, right into your email box.

Join 1,956 other subscribers

Archive

  • Twitter
  • LinkedIn
  • Youtube
  • Facebook
  • Trailhead
Proudly powered by WordPress.