Asked Q
Birlasoft
- Diff between Java and SF done
- Lightning , how to access the variables, events, components call, actions done
- Integration part Portal and Enterprise WSDL done
- Complex process which you had implemented done, approval process
- Explain about schedulers , and purpose done
- ----
- Is account name field is required? yes
- Is rest api and soap api is async and sync? Both are sync.
- Bulk api will support rest or soap? A: Bulk API is a REST-based API
- How to upload bulk api data from data loader: A: Enable Bulk API check box in Dataloder
- Profile and user permissions for record access with role hierarchy : done
- Can you update the record after insert? Or before insert? Before insert can update
- Can you delete the record before insert? Yes
Zensar
- Can end user change their own profiles and roles? No, we can restrect
- What are the details need to fill while creating the profile? done
- Standard object can be a detailed object : A: No
- When you convert the lead object, which values goes go account, contact, lead…. done
Morgan santly
- What is the difference account and account share A: An account team is a team of users who work together on an account.
- How to make a callout after save the record in SF: use action function or you can use oncomplete=” save” in command button.
- How to handle the errors when doing the callout You have uncommitted work pending
- How are you handle the data using bulk API, dataloder
- Executions flow done
Axnesstech
- Explain about community, how to user access the site, create the sites, login pages, password/username creates
- How to test the specific apex class when deploying A: Yes you can do that in Ant script Click here and in change set “Run Specified Tests:” click here
- How to test the class when scope is not there to test.
- Difference between Ant script and change set
- Which attribute to use either package is successfully deployed or not. When using Ant script.
- Request id
- View state done
- How to enable the objects and fields when you expose them to external system. Enable setting in Object Classification
- Flow of executions in salesforce, done
- When you’re doing testing and when you’re moving the changes to UAT, moving to Productions.
- Devà Testingà Dev pro à UATà Staging à Production
- I have 5 triggers, which trigger run first.
- We can’t control the triggers sequence of triggers. But can use helper class as below
- TestObjectTriggerHelper helper = new TestObjectTriggerHelper();
- if(trigger.isBefore) {
- if(trigger.isInsert) { helper.beforeInsert(trigger.new, trigger.old); }
- if(trigger.isUpdate) { helper.beforeUpdate(trigger.new, trigger.old); }
- What is dynamic DML
- building SOQL queries at runtime, you can also create sObjects dynamically, and insert them into the database using DML and use Database.query(Query)
IBM
- What matrix your following in agile
- How you’re getting the requirements, in the form of doc?
- What is the use of custom setting? done
- How your updating the account when contact is updated can use workflow
- In custom setting if I (user1 user) choose the use2 and assign some value to it, who can see that value user1 or user2? done
- Can you convert MD to lookup-> yes
- Can you delete the Junction objectà before u delete, change the relationship to look up and delete all the association to the junctions object like delete all the records, workflow etc…?
- For to get the deleted records in SOQL à View ALL rows
- Use of external ID
- Use of callout you can use callout when you want to connect to the external web service from apex call.
- For lock the records when updating à end of SOQL use FOR UPDATE
- Example of VF components A: record types, PBT, reports and dashboards,
- How to get the deleted records à use at the end of the SOQL is ALL ROWS
SONY
- How to update the field ( duration of the status change), when lead status changeà use WF
- Lightening services
- Lightening service console is tab
- Lightening data sources
- Lightning Data Service – Standard Controller for Lightning Components
- Read record using Lightning Data Service, used to read record with the help Lightning Data Service without writing single line of Apex code.
- More details
- How to get the order update records from different providers. Using API , soap and Rest and limitations
- How to attachments saved in opportunity records of the lead attachment, when custom button clicked
Delotte
- Can other person work the on the case, when user is working on the case
- What you’re doing after case is created.
- What is your use case?
- What you’re doing in sales service and community , what is the purpose of community
- How you’re managing the cases.
XXX
- VF workflow
- Get the order list , without order line item using SOQL query
- Lightening components
- Workflow and triggers
- @future annotations
- Rest and SOAP
- What is report type
- Big object
Sapient
- Alternate solution of solution in service cloud
- Multiple notifications to external system, when order have update
- CTI and OMG
- Limitation of deployment ant script, change set
- When converting VF to lightening when tags are not supporting.
- Can you write the class without controllers?
Renault Nissan
- Email to case settings
- Web to case
- How your tracking each email
- How frequently your deploying the changes
- How many SB you’re having.
- Are you using any data migration tools?
CSS corp
- Community license assign to user
- How to tract outbound messages responses.
- How can you insert account and opportunity at once?
- How to sync the data with external system every 2 min
- How to make sure data inserted into external system.
- How to increase the records(10000 to 50 K) for process to external system dynamically, how to increase heap size / how to change
- How to create multiple accounts for single contact.
- Lightning, how to exchange the data between 2 components.
- What is the best way to convert VF to lightening components
- How to get the list of users(ID start with 005) mapped in the group ID (ID start with 00G)
C3i solution Sathish
- Have you created SB
- Audit trails
- Live chat
- Workflow and triggers
- Custom object
- Can make custom object as a parent of SO
- Display the fields in hierarchy level with + symbol
- In integration, in page type some text in the field and submit , get the result of google of the search display first link in the another field
- In Deployment, if change the field type by mistake and moved to production. How do you roll back the changes from production
- Is there any possibility to loose the data in salesforce
- What is bulkyfy how to do that.
- Wrapper class
Jade Aruna 22Feb
- Redirect page
- Action Functions
- Sales cloud and service cloud process
Cepts Feb7 Baruna Skype
- Handling the team when some team member are having lack of knowledge
- How you’re planning the sprints
- How you’re gathering the requirements?
- How you’re getting huge data from external system and update in SF
- SOAP and Rest diff
- VF view state best practice
- Managing the cases and
- Compare old and new records?
- How your updating parent record field count when child record created and updated
- What are the GL of WF, triggers, and validations rules?
- GL for @furure
- With sharing & without sharing
HCL Feb 7
- How to restrict the records if have less than 5 records
- Relationship between opportunity and opportunity line items
- How to get the records of account, contact , opportunity sort by desc and display in VF page
- Sync and a sync process
- Questions on knowledgebase & entailment and milestones
- How to display duplicate records in VF page in when account record name is selected in the same page
- How to update very huge data into SF from SAP system.
Mphasis Feb 7 anton
- Email template types
- IOT
- Salesforce tenants
- Remote actions
- Bulk API use
- Corn triggers
- Modules in sales and service cloud
- Community charter
- VF best practices
- How to display more than 10000 records in VF
- DB sync
- Salesforce signs
TCS Feb18 Annan
- Picklist fields depend on user
- Recurve WF
- Roles & Q’s
- old and new
- Is update available to new records?
- VF best practice
- Test class coverage
- Diff bw SB’s
- Integratation SOAP and REST
- Lightining
- @future
- GL
- Sharing rules type
- Custom button creation
- Input field & input test field diff
- Controller and dependency field diff
- Page block and data table diff
- Approval process
- Record types
- Types of reports
- When create a record in the Standard page , how to decide which page has to go
- Email templates types
Atos 05/01/2018- Sanjay, viswas
- What is the diff bw SOQL and SOSL
- Web to case- how can are you create the 2 cases when submitting the form(web to case) for 2 products( product P1 and product P2)
- Use process builderà when case 1 creates, create case 2 and assign to other user.
- What type of intergradation you have worked on point to point or multi(ESB)
- What id flexy page in lightening framework
- What are the components available in lighting framework?
- What is the use of event handler?
- Explain the components in VF page and lighting component.
- How you’re calling REST API.
- How you’re converting the JSON format to object.
- How you’re getting updated record from the extremal system and update in salesforce.
- Lookup and master details relationships with examples
- What is Junction object, explain with example
- One position could be posted on many employment websites.
OpportunityLineItem àOpportunity, Product
- Opportunitylineitem, pricebookentity
- Sharing rules will it GL? What is the use of sharing rules, how many ways you can use?
- Best practices of Apex testing
- How to improve the test scenarios, even have covered 100%
- What is the use of Future method
- Explain about batch methods.
- What are the interfaces implementing the batch class
- I have opportunity object and have related object Obj2. When opportunity object field updated, related field also update and created new record.
- What is dynamic apex
- What is view state, explain it
- What type of GL you have reported, how you have fixed.
- What type of deployments you have used, which is the best one.
MindTree
Interviewer : Mayuri- Difference between custom setting and custom metadata
- isexecutable() method is used for?
- how to access private methods in test class
- How to test asy. Webservice calls in test method-------------
- How to test asy. Test class without using test.starttest & test.stoptest.
- How to post pone the date of field using process builder?
- Have you worked on VF flows?
- Explain about @future method
- Is it apply the GL on custom setting?
- yes if using with SOQL
- How to add field level security changes in change set? -----------------
- add field and all the profiles that are having the permission using in the fields
- How are you access the custom setting in VF page
- What are the system methods are used
- A: click hererunAs, debug, asserts, enquejobs, schedule, scheduleblebatch, isFuture(),isQueueable()
- Batch apex and schedulers
- Can you call Asy. Apex class?
- How you bulkified your code? --------------
- Make sure trigger should handle more than one record at a time
- How to lock the record when updating the record.
- Write FOR update at end of the SOQL query
Temenos
- How to get the picklist values from account object------------
- How to get the last 10 recorded created recently
- Territory management
- When parent object is updated all the child records update automatically.
Keste - dilip
- Case team vs Account team
- Custom setting vs Custom setting metadata
- Case owner update.
- Rest Integration
- Make Field read-only in UI
- New features in summer 17.
- Record level setting.
- Community
- I have 100 license , I have 10 more sales rep show to adjust
- Lightening
- Opportunity product, price book relations ship
- Restrict contacts if create more than 5 records
Hippest mind
- Can we call dml operation after rest response?- yes
- How can we call @future method for single transaction
- Difference between WF and PB
- How to schedule the class
- Uncommitted exception
Quintiles 18/09/17
- AngularJS
- Lightining
- GL how to avoid
- CPU timeout issues.
- Integration to other applications.
- Names credentials
CTS 16/09/17 - Siddappa
- Batch class, can stop job at mid. How to do that
- Do it manually
- Can call workflow in process builder
- no
- Without writing the code in salesforce, how can you access from external system.
- How salesforce end user came to know what the external objects are.
- Use web tab
- I have 3000 fields in external object how to integrate with SF objects.
- How to retrieve the records where having shipping zip code = billing zip code
- Use formula fields to create new field. & use that field in where clause
- Where you can use custom settings.
- How to display 1000 records in VF page.
Talentpace 11/09/17
- Explain about process builder
- Integration part
- Lightening
- Admin and development overview
- Salesforce Q’s
Incapsulate
- How to load relationship data ex: account and contact from data loader
Tech Mahindra
- Data masking
- Display multi language in page and VF page
- How to pass the parameter from JS to controller
- How your project has implemented
- How version controller has implemented.
- Deployment process
- Difference between quick action and normal buttons
Honeywell
- create 200 DML statement for one object
- Assign same page layout to different record types
- Salesforce API, explain one
- How to send an email from process builder
- Convert case to Lead.
- Call JS to controller methods by passing parameters
- Can call 2 future methods?
- Different design patterns
- If user inactivate the will happen when another user submit the request for approval.
- How to send a welcome email when new user create.
- When user get the record sharing option
- When convert the case to lead why status options in not showing?
- Can share the case one group to another group.
Innosoft
- I have 10 records, want to display on the SF dashboard page when user login. A: OWD, Manual sharing
- Interview process. à approval process
- Jenkin process
- Lead management
- CRM process
Firstdata
- Dynamic workflow and anonymous workflow
- Workflow states
- Dynamic dashboard
- What is callout and call-in salesforce?
- In Salesforce a 'callout' is any https call that accesses an external URL à some other webservice or website.
- A 'callin' would be the opposite à some external web service or application using the Salesforce API to access Salesforce data.
- How we are exchange the data from extremal system and pushing.
- Best practice in apex class, VF, triggers, test class,
- Can you write standard controllers
- SOQL injection , dynamic SOQL queries
CapGemini
- Field update , if we change the one field need to update another field automatically
- <apex:actionSupport event="onchange" reRender="regions"/>
- View state
- Pick the records from the folder and process in SF and also in external system. Click here
- Upload the files in VF page. click here
- Have you used any reporting tools like analytics? à Reporting snapshot
- What is Queueable apex
- How to schedule a schedule apex.
- Collection framework iterations via list , set, map
- Override the page with VF page.
EFI
- How many inner maps can use
- How to count the users login into the page
- What is the purpose of using Database.isStatefull statement
- What is meant by mixed DML exception? How to avoid this? MIXED_DML_OPERATION,
- Any idea how the release happen in salesforce. Summer, winter, spring,
- Difference between custom setting and custom setting metadata
CTS:
- Assign case to different record type bases on case create like from web to case, email to case.
Create record types from case à recordtypeà create record types like A and B
Do page page layout assignment
Record type A à sales pagelayout
Record type B -> Support page layout
Goto workflow and create rule like:
Rule Criteria |
Case: Case OriginEQUALSEmail |
Evaluation Criteria |
Evaluate the rule when a record is created |
Add workflow action:
Select recordtype à A
Similarly we can assign to Record type B when case crate from Web.
- How to connect to extremal system from salesforce without writing the code in SF
- I have sales representative, how to fit my sales process in salesforce.
- Explain about sales process, where to start
- What is streaming API
- How to track the changes when field is updated.--> using feed track
- Best practices for writing the test class
- What is the use of callout
- Whey restricting the some methods in future annotations.
- How to write test class for static methods.
- How to write the test class for asyn methods class.
S. Electric
- Types of relationships
If we delete record A (First Master detail relationship is always primary) – then child record c will be deleted.
If we delete record B then in this case also child record C will be deleted.
If we delete record c then only C will be deleted , master record will not be deleted.
If child C has two Master record A and B, Where A is primary relation then Child record C will inherit the look and feel of Parent object A.
- Have 2 users U1 and U2, U1 have RW access and U2 have R access, now need to restrict the access (EDIT ) for U2.
- How to send an email when the record is approved. But not send an email when record is updated.
- How to update the account record (in cname append contact name) when contact is created in trigger.
- How to restrict the record access to my manager which I have created.
- When will get to many sql queries exception.
- How to roll back the transactions when update
Account a = new Account(Name = 'xxx'); insert a;
System.assertEquals(null, [SELECT AccountNumber FROM Account WHERE Id = :a.Id].
AccountNumber);
// Create a savepoint while AccountNumber is null
Savepoint sp = Database.setSavepoint();
// Change the account number
a.AccountNumber = '123';
update a;
System.assertEquals('123', [SELECT AccountNumber FROM Account WHERE Id = :a.Id].
AccountNumber);
// Rollback to the previous null value
Database.rollback(sp);
System.assertEquals(null, [SELECT AccountNumber FROM Account WHERE Id = :a.Id].
AccountNumber);
Example 2:
Savepoint sp = Database.setSavepoint();;ccount a = new Account();a.Name='1';a.AccountNumber = '2';insert a;Contact c = new Contact(Account = a.Id);try{ insert c;}catch(Exception e){ Database.RollBack(sp);}
Service Max- basker
- Relationships
- Feed tracking
- Lightening
- Custom setting
- Triggers
- Batch class
- 2 users update the same record at the same time, what will happen?
- When parent object status changed , update all the child object , if even one child object is not updateà through the message
- Sharing rules and permission set
- When each opportunity record amount is crossed $100, for the day – through the error message.
Nessan
- View state
- Custom setting query
- Workflow
- Admin roles
- Security models
- Data loader how many objects can upload
- Salesforce ID 15 & 16 digit difference
Informatica
- Difference between Account and contact
- Trigger and workflow
- Permission set and profile
- new vs. Trigger.newMap
- when parent is deleted the related child records should be deleted
- How to update parent object , when child object is objectedàFormula field and process builder
PWC
- What is Sobject
- How to add the default value to the text field
- Write a map with example
- Explain about custom setting
- Difference between workflow and process builder
- How can access private method in test class
- Difference between profile , permission set , sharing setting
- Access methods
- If delete parent record, need to delete all child records (lookup relations ship) ex: account contacts.
- What is person account
- What is opportunity product
- What is business rule for dupe checker?
- Make field read only, field visible/hidden
- What apex methods called from process builder?
- If Custom setting records not available in production, what you should do?
- Why workflow doesn’t have option to update Parent to child
- What is the purpose of seealldata = true
- How to find the limits before hitting the governor limits?
- How you accessing the common data during testing?
- How you’re testing callback methods?
- Explain about batch class? What are the interfaces are been implemented?
- What is database.statefull?
- How to avoid mixed DML exceptions
- How you’re deploying the custom setting.
- How you’re updating the field that count the number of child records associated with that?
Shell
- I need to send an email to the employee who has the birthday is today.
- Track number of users logged in that page.
HCL
- U1 is a manager and U2 is a team member. If U1 create make the field is mandatory. But not when U2 creates.
- Field mandatory when upload the data user Data model. But same field is mandatory when update the record in UI.
- Hide the fields update in hierarchy level.
- Auto response emails when case is created.
- Why we are using custom mail server even we have standard mail server.
JK Connect
- I have profile and have 2 users’ u1 and u2. I need to give the read permission to the user u1 , write permission to the user u2 for the object O1
- I have 2 fields with relationship, when I update 1 field need to update another field in another object automatically
- Difference between trigger, process builder and workflow
- What is the difference between Process builder and workflow?
Deloitte
- We have 3 objects Account, Contact, Opportunity.
- One object (s1) & 3 tasks (t1, t2, t3) are there. Each task performing discount related stuff.
Ans: List<Task> listof tasks = [select id, name from Task where Id=Trigger.new];
- How can you convert a lead?
- What is your Role in your project?
- Explain 2 VF pages developed by you?
- How will you deploy? Have you ever involved in deployment?
- How will you test your code through Sandbox?
- Sharing Rules?
- Explain Test.setPage ()?
- Why Governor Limits are introduced in Salesforce.com?
Accenture
1) What is Dynamic Approval process?2) Flow of execution in validations, triggers & workflows?
3) Assignment process & validations.
4) Difference between Trigger.new & Trigger.old?
5) Trigger events? & context variables?
8) Syntax for upsert & undelete trigger & Purpose undelete?
9) Case management?
TCS
- About project?
- What are standard objects used in your project?
- Call outs?
- Governor Limits?
- Relationships
- Different types of field types?
- Data Migration?
- Roll-up summary?
HP
1.Asked about the differences in salesforce.com licence and force.com licence.
2.Asked about triggers.
3.Sales life cycle and sales cycle.
4.About workflow events
5.Opportunity stages and case stages
6.The projects worked on.
7.Auto populating the shipping address to billing address.
8.Using data loader how the records were uploaded.
9.In data loader what is the sequence of getting the data. Like accounts, contacts.....
10.Restricting non administrative users from editing their user credentials.
CAPGEMINI
1)Briefly explain about yourself?2)What is salesforce architecture?
3)What all the services provided in cloud computing?
4)what all the services that salesforce supports?
5)what is the difference between profiles and roles?
6)what are web services? why we need to go for them? What is WSDL? What is SOAP?
9) How you will make a class available to others for extension? (Inheritance concept)
10) In the process of creating a new record, how you will check, whether user has entered email or not in the email field of Account object?
11)How you will write a java script function that display an alert on the screen?
13)How you will get the java script function into Visual-force page?
14)Can we create a dashboard using Visual-force page? And what all the components we use here?
15)What are web tabs?
16)How you will add an attachment from VF page? tell me the component names to achieve this functionality?
17)Security(OWD, Sharing Rules, Manual Sharing).
msci
4)Explain a simple apex class with an example which is used in current project?
5)How u execute it?
6)Triggers
scenario 1: before & after triggers are available then which one execute first?
scenario 2: two different programs, two before triggers are there then which one execute first?
7)what is Validation rule?
8)shall we require any user permission for testing an application?
9)Have u used merge trigger, explain it
10)If we want huge(bulk) data to be update, can we do it with trigger?how?
11)Order of execution( Deployment)?
12)What are test cases, give an example
13)How to test a visualforce page?
14)Have u used Batch Apex? at what situation?
15)Diff b/w Batch & Scheduled Apex? when we use these?
16)what is the use of code coverage?
17)Code coverage & Its importance?
iGATE
- Diff between Modify data & Modify All?
- Is it possible to convert Master-Detail to Look-up relationship?
L& T Interview Questions
1)We have an object by default private and profile with Modify all
Data & view all permissions. Can we access object through that
profile?
2)To share a particular Apex class through the project which
keyword can be used?
Ans: with sharing
3)how to maintain the security level settings to different
departments[HR, Tech, Developer] which are not hierarchy.
4)Can we change Formula field value through Apex? Ans: No
5)How Recursive trigger will perform? & how to avoid?
Ans: To avoid, static variable 'locks' are used.
8)In field level security one field is set to hidden. Can we access particular field through Apex code or Workflow?
9)Can we create a user with Trigger?
- OWD Sharing Rules, Profiles, Permissions in OWD.
- Triggers à Undelete how long it will be available in Recycle bin?
- Recursive Triggers?
- Formula filed entered some numeric data is it possible to override that using Apex Code?
- Change sets?
- Workflow à Outbound messages?
- Dashboard components—Charts, Guages, Tables, Metrics
- Add Error
- Field Level Security
- If 2 objects are created & gave same records in both is it possible to provide Master-Detail Relationship?
KPIT
2) What is the difference between Debug Logger & Developer Console?
3) Difference between custom controller & extension controller? Why we use extensions?
4) In VF page, we want to display 3 columns & the fields from 3 different objects. Then how can u display?
aMERICAN eXPRESS
1) Trigger should perform based on user requirement?
It should Trigger when user want to trigger & shouldn’t when trigger don’t want?
2) What are default methods for Batch Apex?
Ans: start(), execute() and finish()
3) Analytical snapshot?
4) Types of Triggers?
5) Other than Data Loader any other way to import Bulk Data?
6) Explain any scenario occurred you to work beyond Governor Limits?
7) How u will do Mass Insert through trigger?
8) If I want to Insert, Update any record into ‘Account’. What trigger I have to use?
CITRIX
- Salesforce knowledge? Custom settings.
- How to get the list of all available sObject in Salesforce database using Apex (Dynamic Apex)?
- Diff between Export & Export All?
- When can I do a Full Sandbox refresh?
- Future Annotation?
- Execution order of Workflow, Apex Triggers & Validation rules?
- View state Error?
- How to retrieve sObjects from the salesforce using Dynamic Apex?
- Test.StartTest & Test.StopTest?
- How many controllers can be used in single Visualforce page?
- Which is the most released Edition in terms of various limits?
- 15-char & 18-char ID?
- Schedule Apex?
- Action Pollar?
- Heap size?
- with sharing & without sharing?
cYBAGE
1)What is the mechanism used in your project?
2) Where you involved in project? how you manage packages?
3) What is Custom portal?
4) What is your role & have you done any implementation?
1.What is View State?
It stores the information necessary to maintain the state of the database between requests.
2.Which edition do you use?
Unlimited.
3.What is AJAX?
Asynchronous Java script And XML
4.What is DataLoader? How we can run it in Batch Mode?
The Data Loader is a client application for the bulk import or export of data. Use it to insert, update, delete, or exportSalesforce.com records.
5.What is difference between System Log and Debug Log?
Use the System Log console to view debug logs that include database events, Apex processing, workflow, and validation logic
6.Why do you mean by Anonymous code? Why do you use it?
An Apex script that does not get stored in Salesforce.com, but that can be compiled and executed through the use of the System Log Console or ExecuteAnonymousResult() API call, or the equivalent in the AJAX Toolkit.
7.What do you do before deploying code to production?
We validate before deploying to production.
8.What are different types of reports?
Tabular, Summary, Matrix
9.What is Person Account?
A person account is an individual consumer with whom you do business, such as a financial services client, an onlineshopper, or a vacation traveler. Person accounts are applicable to organizations that operate on a business-to-consumer model as opposed to a business-to-business model.
11.What are custom tabs?
A custom tab is a user interface component you create to display custom object data or other web content embedded in the application. These are of three types: Custom Object tab , Custom Web Tab, Apex Page Tab
15.What are Custom Objects?
Custom Objects are database tables that allow you to store data unique to your organization.
17.What is an App in Salesforce?
An ³app´ is a group of tabs that works as a unit to provide application functionality.
Salesforce.com provides standard apps such as Sales and Call Center.
18.What is order of process of rules?
- Validation rules 2. Assignment rules 3. Auto-response rules 4. Workflow rules (with immediate actions) 5. Escalation rules
Groups are sets of users. They can contain individual users, other groups, the users in a particular role or territory, or the users in a particular role or territory plus all of the users below that role or territory in the hierarchy.
22.How to overcome 10000 query rows limit?
By using ActionPolar.
23.What are key Profile permissions?
Manage Users Customize ApplicationModify All DataView All Data Edit Read Only FieldsView Encrypted Data
25.What is difference between Role and Profile?
Roles can control the level of visibility that users have into your organization is data.
Users at any given role level can view, edit, and report on all data owned by or shared with users below them in the hierarchy, unless your organizations. Sharing model for an object specifies otherwise. Roles primarily control a user's record-level access permissions through role hierarchy and sharing rules.
Profiles contain administrative permissions and general user permissions, which in turn control what actions a user can take. Profiles control a user's object- and field-level access permissions.
26.What are administrator tasks you have worked on?
Company Information
Multiple Currencies setup
Divisions
Mail Merge Templates
Translation Workbench
User Management-users/roles/profiles/Administrative & General Permissions/Object
permissions/Groups/Queues/Events
27.What are standard profiles available?
System Administrator
Standard Platform User
Standard Platform One App User
Standard User Partner User
High Volume Customer Portal User
Authenticated Website User
Customer Portal User C
ustomer Portal Manager Solution Manager Marketing User
Read OnlyChatter Only User
Chatter Free User
Chatter Moderator User
28.What are custom object permissions?
Read, Create, Edit, Delete, View All, Modify All
29.What are queues?
Queues help your organization to manage the distribution of object records. When an object record is created, manually assign it to a queue so that the users who are assigned to the queue can access it and take ownership of it as appropriate
30.What are types of user licenses available in salesforce?
SalesForce.com users: SalesForce SalesForce Platform SalesForce Platform LightForce.com ± One AppForce.com ± FreeIdeas and Answers Internal User Content Only User Knowledge Only User Chatter FreeChatter OnlySite Users:Guest User Customer Portal User:High Volume Customer Portal User(Service Cloud User)Authenticated Web Site User Customer Portal Manager StandardCustomer Portal Manager CustomPartner Portal User:Bronze Partner Silver Partner Gold Partner
31.What are different types of feature licenses in salesforce?
Marketing User, Offline User, Apex Mobile User, SalesForce CRM Content User, Knowledge User, Service Cloud User.
37.Give examples of @ annotations.
Ans: @future, @isTest, @deprecated
39.What are types of sharing?
Force.com Managed Sharing (Record Ownership, Role Hierarchy, Sharing Rules)
User Managed Sharing / Manual Sharing (for single record)
Apex Managed Sharing (only available for custom objects)
40.What will be the status of relationship fields when deleted records are restored in a master and detail object?
Undeleting the master record also undeletes detail and sub detail records.
41.What will be the status of relationship fields when deleted objects are restored?
When you delete a custom object that is on the detail side of a master-detail relationship, the relationship is converted to a lookup relationship. If you restore the custom object, you must manually convert it to a master-detail.
46.How many rows return by list controller? -10000
50.How to create and host S Control in Salesforce ?
http://shivasoft.in/blog/webtech/salesforce/how-to-create-s-control-in-salesforce/http://shivasoft.in/blog/webtech/salesforce/how-to-host-s-control-in-visualforce-page/
51.Difference between Sandbox and Development environment?
http://shivasoft.in/blog/webtech/salesforce/difference-between-sandbox-and-developer-edition-in-salesforce/
Sandox is the place where you can do development work. Salesforce has three types of sandboxes:
- Developer sandbox
- Configuration only sandbox
- Full sandbox
Full sandbox will have the same data as produciton (Same IDs)
52.How to schedule export or take the backup of salesforce?
http://shivasoft.in/blog/webtech/salesforce/backup-the-salesforce-data/
54.Is it possible to write the Apex code from user Interface?
You can add, edit, or delete Apex using the Salesforce.com user interface only in a Developer Edition organization, a Salesforce.com Enterprise Edition trial organization, or sandbox organization. In a Salesforce.com production organization, you can only make changes to Apex by using the Metadata API , deploy call, the Force.com IDE, or theForce.com Migration Tool. The Force.com IDE and Force.com Migration Tool are free resources provided by salesforce.com to upport its users andpartners, but are not considered part of our Services for purposes of the salesforce.com Master Subscription Agreement.
55.When you can’t add Time dependent action in Workflow rule?
You can’t add time-dependent actions to a rule if you choose Every time a record is created or edited
66.How to restrict any Trigger to fire only once ?
Ans:
Triggers can fire twice, once before workflows and once after workflows, this is documented at
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_order_of_execution.htm:
“The before and after triggers fire one more time only if something needs to be updated. If the fields already been set to a value, the triggers are not fired again.” have
Work around:
Add a static Boolean variable to a class, and check its value within the affected triggers.
public class HelperClass
{public static boolean firstRun = true;}
trigger affectedTrigger on Account (before delete, after delete, after undelete)
{if(Trigger.isBefore){
if(Trigger.isDelete)
{if(HelperClass.firstRun)
{Trigger.old[0].addError('Before Account Delete Error');
HelperClass.firstRun=false;
}}}}