Salesforce CRM Interview Question and Answer

25.) What is the maximum size of the PDF generated on visualforce attribute renderAs?

15MB

26.) Does user can create insert their own custom logo, while creating their own custom applications?

Yes user can upload their custom logo in documents and then they choose that logo for organization.

27.)A custom object contains some records, now my requirement is to create field in this object with master detail relationship. Can we create master detail relationship in this case?

No, directly we cannot create master details relationship if custom object contains existing records. Following are the steps to create to create master-detail relationship when records are available in custom object.

  • First create field with lookup relationship.
  • And then associate look field with parent record for every record
  • Next change the data type of the field from look up to Master detail.

28.) List things that can be customized on page layouts?

We can customize different things on page layout like, Fields, Buttons, Custom Links and Related Lists. We can also create sections.

29.) What is difference between Action support and Action function?

Action function: Invoke the controller method from java script using AJAX and we can use action function from different places on visual force page. Action support: Invoke the controller method using AJAX when even occurs on page like onMouseOver, onClick, ect… and we can use action support for particular single apex component.

30.) How to create Master Details relationship between existing records?

Directly we can’t create Master Detail relationship between existing records, first we have to create Lookup relationship and provide valid lookup fields and it shouldn’t null.


1 2 3 4 5 6 7