Salesforce consultant Interview Questions
3K
Salesforce Consultant interview questions shared by candidates
salesforce exp
6 Answers
Can a batch be called from the execute method of another batch apex?
4 Answers↳
No.. another batch class can be called from a start or a finish method of our batch class. But never from the execute method. Less
↳
No
↳
Yes but only from finish method else it will throw a run time error


"Given a company with units A and B, and sub-units within each, how can one hide select records in B from A but allow access to certain records?"
3 Answers↳
Interviewer might be interested to know about how Private OWD & Criteria Based Sharing works Less
↳
We can accomplish this either by record types and page layouts or put owd as private mode for particular object and give access to the users via sharing rule. If you will use owd option then you have to make sure that the affected user should not be a record owner else user can have access to that record. Less
↳
I responded with the role hierarchy will allow you to hide records between units should that be required, but if there is select access required, then something further like rules or Apex sharing would be required." I was told this was wrong, and that one could use the role hierarchy and use views to hide the records and that would vary by client. I find this answer at it's base to show lacking in security understanding. Less

where do u stored your javascripts files in salesforce ?
3 Answers↳
If we are using that particular JS file in Visualforce Page so in that scenario we can access while uploading our JS file in static resource or by call it directly on Visualforce Page but on the another side If we want to use that plugin in Lightning Component for this its mandatory to upload our JS file in static resource because lightning component initially run on client side. Less
↳
Static resource
↳
I said it's in static resource

Field Accessibility
3 Answers↳
Tomorrow I have Interview with Amazon for Salesforce Developer role
↳
^ Can you provide your feedback on how did it go? Looking for some pointers
↳
How was your interview?

Workflow,Permission Set, Trigger to assign a task to a user
3 Answers↳
I will consult coustomer good averness
↳
Yes I will give for coustomer good averness
↳
Yes I will give


