SlideShare a Scribd company logo
* What is transient?
Use the transient keyword to declare instance variables that can’t be saved, and
shouldn’t be transmitted as part of the view state for a Visualforce page. For
example:
Transient Integer currentTotal;
You can also use the transient keyword in Apex classes that are serializable,
namely in controllers, controller extensions, or classes that implement the
Batchable or Schedulable interface. In addition, you can use transient in
classes that define the types of fields declared in the serializable classes.
Declaring variables as transient reduces view state size. A common use case for
the transient keyword is a field on a Visualforce page that is needed only for
the duration of a page request, but should not be part of the page’s view state
and would use too many system resources to be recomputed many times during a
request.
Some Apex objects are automatically considered transient, that is, their value
does not get saved as part of the page’s view state. These objects include the
following:
* What is call out and what is call in?
A) Making requests to external system from salesforce is callout.
Getting requests from external system is call in.
example of setting a custom timeout for HTTP callouts:
HttpRequest req = new HttpRequest();
req.setTimeout(2000); // timeout in milliseconds
* How many ways we can schedule Batches?Is it possible to schedule with external
tool like data loader?
A) We can schedule batches using dataloader.
We can use Schedulable interface to schedule batches
Yes, We can schedule the data loader using CommandLine Interface.
* Is there any limitations to use @future?
A) @future: future annotation to identify methods that are executed
asynchronously.
Yes,the following are @future limitations.
1. No more than 10 method calls per Apex invocation
2. No more than 200 method calls per Salesforce license per 24 hours
3. The parameters specified must be primitive dataypes, arrays of primitive
datatypes, or collections of primitive datatypes.
4. Methods with the future annotation cannot take sObjects or objects as
arguments.
5. Methods with the future annotation cannot be used in Visualforce controllers
in either getMethodName or setMethodName methods, nor in the constructor.
* After executing workflow rules agin before triggers and after triggers will
execute, How can you avoid?
* Are you using any external tools like bug traker in your company?
* What is the difference between enterprise WSDL and partner WSDL?
A)
Enterprise WSDL
* Is strongly typed, the object and its attributes are fixed.
* Contains the metadata about all standard and custom fields and objects.
* Can only be used against your Salesforce instance.
Partner WSDL
* Is loosely typed, the object and its attributes can be variable.
* Takes an array of key-value pairs.
* Does not contain metadata about objects and fields.
* Can be used against many Salesforce.com organizations.
* What are the types of WSDL’s?
A) 1.Enterprise WSDL
2.Partner WSDL
3.Apex WSDL
4.Metadata WSDL
* for an email format data entering how can you write validation rules?
A) By using regex function
* What is SFDC life cycle ( After getting the requirements what will be the
steps)?
A) Analysis, Design, Develop the code in the sandboxes, writing unit tests, and
moving to test sandboxes to test
and then deploy to production with adequate code coverage.
* How can you avoid governer limits?
A) Using batches we can avoid governor limits.
* Have you used any annotations?
A) Yes.
* What is group by? When will you use?What is having? When will you use?beside
Groupby is it possible to use having?
A) While using aggregate functions we should use group by.
Group by is used in soql queries to fetch the records by grouping based on
specific fields
Yes we can use having.
* What is the diffrence between List, set, map?
A) List:
List is a Unordered collection of values. It contains duplicate values. Each
value is retrieved using the List Index.
Set:
Set is an ordered collection of values. It does not contains duplicate values.
Map:
Map is a key value pair datatype.duplcate value but not duplicate key.
* What is the difference between workflow and Triggers?
A) workflow Trigger
1. workflow is inbuilt functionality 1.Trigger is used for complex business
process
used on single object. in which multiple objects can handle.
2. workflows fire when DML events like 2. Trigger is also same when DML events
occur like
insert, update occur.workflows cannot fire insert, update, delete.in deletion
trigger will fire.
when delete event occur.
3. workflows will only help to update the same object 3. Trigger can work across
objects and where in
or master object in custom master detail relationship. you can query the object
as well as you can do DMLs.
* How can you display error messages on visualforce page?
A) <apex:pagemessages/>
* Call by reference and call by value in APEX?
A) Object references are call by reference and primitive types are call by
value.
* I need to put five radio buttons how can you do that?
A) Using <apex:selectRadio> tag.
* How can you show error messages on VF pages?
A) ApexPages.addMessage()
* Deployment Steps
A)
. Create a Developer Sandbox
• Authorize a Deployment Connection
• Create and Upload an Outbound Change Set
• Validate an Inbound Change Set
• Deploy an Inbound Change Set

More Related Content

Viewers also liked

Green
GreenGreen
Cots Presentation1
Cots Presentation1Cots Presentation1
Cots Presentation1
Tom Terlizzi
 
Mil Aer Homeland
Mil Aer HomelandMil Aer Homeland
Mil Aer Homeland
Tom Terlizzi
 
Successfulentrepreneurship 101111173533 Phpapp01
Successfulentrepreneurship 101111173533 Phpapp01Successfulentrepreneurship 101111173533 Phpapp01
Successfulentrepreneurship 101111173533 Phpapp01
Tom Terlizzi
 
AMT-A-501
AMT-A-501AMT-A-501
AMT-A-501
Tom Terlizzi
 
MICROELECTRONIC Glossary
MICROELECTRONIC GlossaryMICROELECTRONIC Glossary
MICROELECTRONIC Glossary
Tom Terlizzi
 
Thepresentationsecretsofstevejobs 12624250623795 Phpapp01 1
Thepresentationsecretsofstevejobs 12624250623795 Phpapp01 1Thepresentationsecretsofstevejobs 12624250623795 Phpapp01 1
Thepresentationsecretsofstevejobs 12624250623795 Phpapp01 1
Tom Terlizzi
 
GM-System Strategic Planning
GM-System Strategic PlanningGM-System Strategic Planning
GM-System Strategic Planning
Tom Terlizzi
 
Contracting Excellence
Contracting ExcellenceContracting Excellence
Contracting Excellence
Tom Terlizzi
 
Rf technology 5-8-2011-final-revised
Rf technology 5-8-2011-final-revisedRf technology 5-8-2011-final-revised
Rf technology 5-8-2011-final-revised
Tom Terlizzi
 
Ppt 3 pepsi
Ppt 3 pepsiPpt 3 pepsi
Ppt 3 pepsi
abhijeet1419
 
Physics form 4 chapter1 slides
Physics form 4 chapter1 slidesPhysics form 4 chapter1 slides
Physics form 4 chapter1 slides
University Science Penang
 
Electronic Packaging Trend Short 10 3 2011
Electronic Packaging Trend Short 10 3 2011Electronic Packaging Trend Short 10 3 2011
Electronic Packaging Trend Short 10 3 2011
Tom Terlizzi
 
Physics form 4 chapter 2
Physics form 4 chapter 2Physics form 4 chapter 2
Physics form 4 chapter 2
University Science Penang
 

Viewers also liked (15)

Green
GreenGreen
Green
 
Cots Presentation1
Cots Presentation1Cots Presentation1
Cots Presentation1
 
Mil Aer Homeland
Mil Aer HomelandMil Aer Homeland
Mil Aer Homeland
 
Successfulentrepreneurship 101111173533 Phpapp01
Successfulentrepreneurship 101111173533 Phpapp01Successfulentrepreneurship 101111173533 Phpapp01
Successfulentrepreneurship 101111173533 Phpapp01
 
AMT-A-501
AMT-A-501AMT-A-501
AMT-A-501
 
MICROELECTRONIC Glossary
MICROELECTRONIC GlossaryMICROELECTRONIC Glossary
MICROELECTRONIC Glossary
 
Thepresentationsecretsofstevejobs 12624250623795 Phpapp01 1
Thepresentationsecretsofstevejobs 12624250623795 Phpapp01 1Thepresentationsecretsofstevejobs 12624250623795 Phpapp01 1
Thepresentationsecretsofstevejobs 12624250623795 Phpapp01 1
 
papers
paperspapers
papers
 
GM-System Strategic Planning
GM-System Strategic PlanningGM-System Strategic Planning
GM-System Strategic Planning
 
Contracting Excellence
Contracting ExcellenceContracting Excellence
Contracting Excellence
 
Rf technology 5-8-2011-final-revised
Rf technology 5-8-2011-final-revisedRf technology 5-8-2011-final-revised
Rf technology 5-8-2011-final-revised
 
Ppt 3 pepsi
Ppt 3 pepsiPpt 3 pepsi
Ppt 3 pepsi
 
Physics form 4 chapter1 slides
Physics form 4 chapter1 slidesPhysics form 4 chapter1 slides
Physics form 4 chapter1 slides
 
Electronic Packaging Trend Short 10 3 2011
Electronic Packaging Trend Short 10 3 2011Electronic Packaging Trend Short 10 3 2011
Electronic Packaging Trend Short 10 3 2011
 
Physics form 4 chapter 2
Physics form 4 chapter 2Physics form 4 chapter 2
Physics form 4 chapter 2
 

Similar to Salesforce integration questions

How to ace your .NET technical interview :: .Net Technical Check Tuneup
How to ace your .NET technical interview :: .Net Technical Check TuneupHow to ace your .NET technical interview :: .Net Technical Check Tuneup
How to ace your .NET technical interview :: .Net Technical Check Tuneup
Bala Subra
 
So You Want to Write an Exporter
So You Want to Write an ExporterSo You Want to Write an Exporter
So You Want to Write an Exporter
Brian Brazil
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
Ramu Palanki
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
Ramu Palanki
 
C question
C questionC question
C question
Kuntal Bhowmick
 
How to do code review and use analysis tool in software development
How to do code review and use analysis tool in software developmentHow to do code review and use analysis tool in software development
How to do code review and use analysis tool in software development
Mitosis Technology
 
Spring boot
Spring bootSpring boot
Design Patterns
Design PatternsDesign Patterns
Design Patterns
imedo.de
 
Overview of MVC Framework - by software outsourcing company india
Overview of MVC Framework - by software outsourcing company indiaOverview of MVC Framework - by software outsourcing company india
Overview of MVC Framework - by software outsourcing company india
Jignesh Aakoliya
 
C# interview-questions
C# interview-questionsC# interview-questions
C# interview-questions
nicolbiden
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
Ankit.Rustagi
 
Tcs NQTExam technical questions
Tcs NQTExam technical questionsTcs NQTExam technical questions
Tcs NQTExam technical questions
AniketBhandare2
 
Asp net interview_questions
Asp net interview_questionsAsp net interview_questions
Asp net interview_questions
Bilam
 
Asp net interview_questions
Asp net interview_questionsAsp net interview_questions
Asp net interview_questions
Ghazi Anwar
 
Struts 2-overview2
Struts 2-overview2Struts 2-overview2
Struts 2-overview2
divzi1913
 
Dot net interview questions and asnwers
Dot net interview questions and asnwersDot net interview questions and asnwers
Dot net interview questions and asnwers
kavinilavuG
 
Multi-tenancy with Rails
Multi-tenancy with RailsMulti-tenancy with Rails
Multi-tenancy with Rails
Paul Gallagher
 
Super applied in a sitecore migration project
Super applied in a sitecore migration projectSuper applied in a sitecore migration project
Super applied in a sitecore migration project
dodoshelu
 
2012 the clean architecture by Uncle bob
2012 the clean architecture by Uncle bob 2012 the clean architecture by Uncle bob
2012 the clean architecture by Uncle bob
GEORGE LEON
 
Advanced web application architecture - Talk
Advanced web application architecture - TalkAdvanced web application architecture - Talk
Advanced web application architecture - Talk
Matthias Noback
 

Similar to Salesforce integration questions (20)

How to ace your .NET technical interview :: .Net Technical Check Tuneup
How to ace your .NET technical interview :: .Net Technical Check TuneupHow to ace your .NET technical interview :: .Net Technical Check Tuneup
How to ace your .NET technical interview :: .Net Technical Check Tuneup
 
So You Want to Write an Exporter
So You Want to Write an ExporterSo You Want to Write an Exporter
So You Want to Write an Exporter
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
C question
C questionC question
C question
 
How to do code review and use analysis tool in software development
How to do code review and use analysis tool in software developmentHow to do code review and use analysis tool in software development
How to do code review and use analysis tool in software development
 
Spring boot
Spring bootSpring boot
Spring boot
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
 
Overview of MVC Framework - by software outsourcing company india
Overview of MVC Framework - by software outsourcing company indiaOverview of MVC Framework - by software outsourcing company india
Overview of MVC Framework - by software outsourcing company india
 
C# interview-questions
C# interview-questionsC# interview-questions
C# interview-questions
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
 
Tcs NQTExam technical questions
Tcs NQTExam technical questionsTcs NQTExam technical questions
Tcs NQTExam technical questions
 
Asp net interview_questions
Asp net interview_questionsAsp net interview_questions
Asp net interview_questions
 
Asp net interview_questions
Asp net interview_questionsAsp net interview_questions
Asp net interview_questions
 
Struts 2-overview2
Struts 2-overview2Struts 2-overview2
Struts 2-overview2
 
Dot net interview questions and asnwers
Dot net interview questions and asnwersDot net interview questions and asnwers
Dot net interview questions and asnwers
 
Multi-tenancy with Rails
Multi-tenancy with RailsMulti-tenancy with Rails
Multi-tenancy with Rails
 
Super applied in a sitecore migration project
Super applied in a sitecore migration projectSuper applied in a sitecore migration project
Super applied in a sitecore migration project
 
2012 the clean architecture by Uncle bob
2012 the clean architecture by Uncle bob 2012 the clean architecture by Uncle bob
2012 the clean architecture by Uncle bob
 
Advanced web application architecture - Talk
Advanced web application architecture - TalkAdvanced web application architecture - Talk
Advanced web application architecture - Talk
 

Recently uploaded

About Alibaba company and brief general information regarding how to trade on...
About Alibaba company and brief general information regarding how to trade on...About Alibaba company and brief general information regarding how to trade on...
About Alibaba company and brief general information regarding how to trade on...
Erkinjon Erkinov
 
Book dating , international dating phgra
Book dating , international dating phgraBook dating , international dating phgra
Book dating , international dating phgra
thomaskurtha9
 
cyber-security-training-presentation-q320.ppt
cyber-security-training-presentation-q320.pptcyber-security-training-presentation-q320.ppt
cyber-security-training-presentation-q320.ppt
LiamOConnor52
 
一比一原版(bristol毕业证书)英国布里斯托大学毕业证如何办理
一比一原版(bristol毕业证书)英国布里斯托大学毕业证如何办理一比一原版(bristol毕业证书)英国布里斯托大学毕业证如何办理
一比一原版(bristol毕业证书)英国布里斯托大学毕业证如何办理
taqyea
 
Bai-Tập-Tiếng-Anh-On-Tập-He lớp 1- lớp 5 hot nhất
Bai-Tập-Tiếng-Anh-On-Tập-He lớp 1- lớp 5  hot nhấtBai-Tập-Tiếng-Anh-On-Tập-He lớp 1- lớp 5  hot nhất
Bai-Tập-Tiếng-Anh-On-Tập-He lớp 1- lớp 5 hot nhất
Thiên Đường Tình Yêu
 
一比一原版(london毕业证书)英国伦敦大学毕业证如何办理
一比一原版(london毕业证书)英国伦敦大学毕业证如何办理一比一原版(london毕业证书)英国伦敦大学毕业证如何办理
一比一原版(london毕业证书)英国伦敦大学毕业证如何办理
taqyea
 
SlideEgg_200767-ICC Mens T20 World Cup 2024.pptx
SlideEgg_200767-ICC Mens T20 World Cup 2024.pptxSlideEgg_200767-ICC Mens T20 World Cup 2024.pptx
SlideEgg_200767-ICC Mens T20 World Cup 2024.pptx
NandakumarP24
 
一比一原版(ic毕业证书)英国帝国理工学院毕业证如何办理
一比一原版(ic毕业证书)英国帝国理工学院毕业证如何办理一比一原版(ic毕业证书)英国帝国理工学院毕业证如何办理
一比一原版(ic毕业证书)英国帝国理工学院毕业证如何办理
taqyea
 
Cyber Security Course & Guide. X.GI. pdf
Cyber Security Course & Guide. X.GI. pdfCyber Security Course & Guide. X.GI. pdf
Cyber Security Course & Guide. X.GI. pdf
RohitRoshanBengROHIT
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
taqyea
 
一比一原版(aber毕业证)亚伯大学毕业证如何办理
一比一原版(aber毕业证)亚伯大学毕业证如何办理一比一原版(aber毕业证)亚伯大学毕业证如何办理
一比一原版(aber毕业证)亚伯大学毕业证如何办理
taqyea
 
seo proposal | Kiyado Innovations LLP pdf
seo proposal | Kiyado Innovations LLP  pdfseo proposal | Kiyado Innovations LLP  pdf
seo proposal | Kiyado Innovations LLP pdf
diyakiyado
 
Corporate Minimal Newspaper Headline Style Newsletter.pptx
Corporate Minimal Newspaper Headline Style Newsletter.pptxCorporate Minimal Newspaper Headline Style Newsletter.pptx
Corporate Minimal Newspaper Headline Style Newsletter.pptx
byubyu7
 
一比一原版澳洲巴拉特大学毕业证(utas毕业证书)如何办理
一比一原版澳洲巴拉特大学毕业证(utas毕业证书)如何办理一比一原版澳洲巴拉特大学毕业证(utas毕业证书)如何办理
一比一原版澳洲巴拉特大学毕业证(utas毕业证书)如何办理
taqyea
 
一比一原版(mqu毕业证)麦考瑞大学毕业证如何办理
一比一原版(mqu毕业证)麦考瑞大学毕业证如何办理一比一原版(mqu毕业证)麦考瑞大学毕业证如何办理
一比一原版(mqu毕业证)麦考瑞大学毕业证如何办理
taqyea
 
Quiz Quiz Hota Hai (School Quiz 2018-19)
Quiz Quiz Hota Hai (School Quiz 2018-19)Quiz Quiz Hota Hai (School Quiz 2018-19)
Quiz Quiz Hota Hai (School Quiz 2018-19)
Kashyap J
 
一比一原版(city毕业证书)英国剑桥大学毕业证如何办理
一比一原版(city毕业证书)英国剑桥大学毕业证如何办理一比一原版(city毕业证书)英国剑桥大学毕业证如何办理
一比一原版(city毕业证书)英国剑桥大学毕业证如何办理
taqyea
 
How to Choose the Right UIUX Design Service for Optimal Customer Experience
How to Choose the Right UIUX Design Service for Optimal Customer ExperienceHow to Choose the Right UIUX Design Service for Optimal Customer Experience
How to Choose the Right UIUX Design Service for Optimal Customer Experience
Serva AppLabs
 
一比一原版(kcl毕业证书)英国伦敦国王学院毕业证如何办理
一比一原版(kcl毕业证书)英国伦敦国王学院毕业证如何办理一比一原版(kcl毕业证书)英国伦敦国王学院毕业证如何办理
一比一原版(kcl毕业证书)英国伦敦国王学院毕业证如何办理
taqyea
 
Megalive99 Situs Betting Online Gacor Terpercaya
Megalive99 Situs Betting Online Gacor TerpercayaMegalive99 Situs Betting Online Gacor Terpercaya
Megalive99 Situs Betting Online Gacor Terpercaya
Megalive99
 

Recently uploaded (20)

About Alibaba company and brief general information regarding how to trade on...
About Alibaba company and brief general information regarding how to trade on...About Alibaba company and brief general information regarding how to trade on...
About Alibaba company and brief general information regarding how to trade on...
 
Book dating , international dating phgra
Book dating , international dating phgraBook dating , international dating phgra
Book dating , international dating phgra
 
cyber-security-training-presentation-q320.ppt
cyber-security-training-presentation-q320.pptcyber-security-training-presentation-q320.ppt
cyber-security-training-presentation-q320.ppt
 
一比一原版(bristol毕业证书)英国布里斯托大学毕业证如何办理
一比一原版(bristol毕业证书)英国布里斯托大学毕业证如何办理一比一原版(bristol毕业证书)英国布里斯托大学毕业证如何办理
一比一原版(bristol毕业证书)英国布里斯托大学毕业证如何办理
 
Bai-Tập-Tiếng-Anh-On-Tập-He lớp 1- lớp 5 hot nhất
Bai-Tập-Tiếng-Anh-On-Tập-He lớp 1- lớp 5  hot nhấtBai-Tập-Tiếng-Anh-On-Tập-He lớp 1- lớp 5  hot nhất
Bai-Tập-Tiếng-Anh-On-Tập-He lớp 1- lớp 5 hot nhất
 
一比一原版(london毕业证书)英国伦敦大学毕业证如何办理
一比一原版(london毕业证书)英国伦敦大学毕业证如何办理一比一原版(london毕业证书)英国伦敦大学毕业证如何办理
一比一原版(london毕业证书)英国伦敦大学毕业证如何办理
 
SlideEgg_200767-ICC Mens T20 World Cup 2024.pptx
SlideEgg_200767-ICC Mens T20 World Cup 2024.pptxSlideEgg_200767-ICC Mens T20 World Cup 2024.pptx
SlideEgg_200767-ICC Mens T20 World Cup 2024.pptx
 
一比一原版(ic毕业证书)英国帝国理工学院毕业证如何办理
一比一原版(ic毕业证书)英国帝国理工学院毕业证如何办理一比一原版(ic毕业证书)英国帝国理工学院毕业证如何办理
一比一原版(ic毕业证书)英国帝国理工学院毕业证如何办理
 
Cyber Security Course & Guide. X.GI. pdf
Cyber Security Course & Guide. X.GI. pdfCyber Security Course & Guide. X.GI. pdf
Cyber Security Course & Guide. X.GI. pdf
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
一比一原版(aber毕业证)亚伯大学毕业证如何办理
一比一原版(aber毕业证)亚伯大学毕业证如何办理一比一原版(aber毕业证)亚伯大学毕业证如何办理
一比一原版(aber毕业证)亚伯大学毕业证如何办理
 
seo proposal | Kiyado Innovations LLP pdf
seo proposal | Kiyado Innovations LLP  pdfseo proposal | Kiyado Innovations LLP  pdf
seo proposal | Kiyado Innovations LLP pdf
 
Corporate Minimal Newspaper Headline Style Newsletter.pptx
Corporate Minimal Newspaper Headline Style Newsletter.pptxCorporate Minimal Newspaper Headline Style Newsletter.pptx
Corporate Minimal Newspaper Headline Style Newsletter.pptx
 
一比一原版澳洲巴拉特大学毕业证(utas毕业证书)如何办理
一比一原版澳洲巴拉特大学毕业证(utas毕业证书)如何办理一比一原版澳洲巴拉特大学毕业证(utas毕业证书)如何办理
一比一原版澳洲巴拉特大学毕业证(utas毕业证书)如何办理
 
一比一原版(mqu毕业证)麦考瑞大学毕业证如何办理
一比一原版(mqu毕业证)麦考瑞大学毕业证如何办理一比一原版(mqu毕业证)麦考瑞大学毕业证如何办理
一比一原版(mqu毕业证)麦考瑞大学毕业证如何办理
 
Quiz Quiz Hota Hai (School Quiz 2018-19)
Quiz Quiz Hota Hai (School Quiz 2018-19)Quiz Quiz Hota Hai (School Quiz 2018-19)
Quiz Quiz Hota Hai (School Quiz 2018-19)
 
一比一原版(city毕业证书)英国剑桥大学毕业证如何办理
一比一原版(city毕业证书)英国剑桥大学毕业证如何办理一比一原版(city毕业证书)英国剑桥大学毕业证如何办理
一比一原版(city毕业证书)英国剑桥大学毕业证如何办理
 
How to Choose the Right UIUX Design Service for Optimal Customer Experience
How to Choose the Right UIUX Design Service for Optimal Customer ExperienceHow to Choose the Right UIUX Design Service for Optimal Customer Experience
How to Choose the Right UIUX Design Service for Optimal Customer Experience
 
一比一原版(kcl毕业证书)英国伦敦国王学院毕业证如何办理
一比一原版(kcl毕业证书)英国伦敦国王学院毕业证如何办理一比一原版(kcl毕业证书)英国伦敦国王学院毕业证如何办理
一比一原版(kcl毕业证书)英国伦敦国王学院毕业证如何办理
 
Megalive99 Situs Betting Online Gacor Terpercaya
Megalive99 Situs Betting Online Gacor TerpercayaMegalive99 Situs Betting Online Gacor Terpercaya
Megalive99 Situs Betting Online Gacor Terpercaya
 

Salesforce integration questions

  • 1. * What is transient? Use the transient keyword to declare instance variables that can’t be saved, and shouldn’t be transmitted as part of the view state for a Visualforce page. For example: Transient Integer currentTotal; You can also use the transient keyword in Apex classes that are serializable, namely in controllers, controller extensions, or classes that implement the Batchable or Schedulable interface. In addition, you can use transient in classes that define the types of fields declared in the serializable classes. Declaring variables as transient reduces view state size. A common use case for the transient keyword is a field on a Visualforce page that is needed only for the duration of a page request, but should not be part of the page’s view state and would use too many system resources to be recomputed many times during a request. Some Apex objects are automatically considered transient, that is, their value does not get saved as part of the page’s view state. These objects include the following: * What is call out and what is call in? A) Making requests to external system from salesforce is callout. Getting requests from external system is call in. example of setting a custom timeout for HTTP callouts: HttpRequest req = new HttpRequest(); req.setTimeout(2000); // timeout in milliseconds * How many ways we can schedule Batches?Is it possible to schedule with external tool like data loader? A) We can schedule batches using dataloader. We can use Schedulable interface to schedule batches Yes, We can schedule the data loader using CommandLine Interface. * Is there any limitations to use @future? A) @future: future annotation to identify methods that are executed asynchronously. Yes,the following are @future limitations. 1. No more than 10 method calls per Apex invocation 2. No more than 200 method calls per Salesforce license per 24 hours 3. The parameters specified must be primitive dataypes, arrays of primitive datatypes, or collections of primitive datatypes. 4. Methods with the future annotation cannot take sObjects or objects as arguments. 5. Methods with the future annotation cannot be used in Visualforce controllers in either getMethodName or setMethodName methods, nor in the constructor. * After executing workflow rules agin before triggers and after triggers will execute, How can you avoid? * Are you using any external tools like bug traker in your company? * What is the difference between enterprise WSDL and partner WSDL? A) Enterprise WSDL * Is strongly typed, the object and its attributes are fixed. * Contains the metadata about all standard and custom fields and objects.
  • 2. * Can only be used against your Salesforce instance. Partner WSDL * Is loosely typed, the object and its attributes can be variable. * Takes an array of key-value pairs. * Does not contain metadata about objects and fields. * Can be used against many Salesforce.com organizations. * What are the types of WSDL’s? A) 1.Enterprise WSDL 2.Partner WSDL 3.Apex WSDL 4.Metadata WSDL * for an email format data entering how can you write validation rules? A) By using regex function * What is SFDC life cycle ( After getting the requirements what will be the steps)? A) Analysis, Design, Develop the code in the sandboxes, writing unit tests, and moving to test sandboxes to test and then deploy to production with adequate code coverage. * How can you avoid governer limits? A) Using batches we can avoid governor limits. * Have you used any annotations? A) Yes. * What is group by? When will you use?What is having? When will you use?beside Groupby is it possible to use having? A) While using aggregate functions we should use group by. Group by is used in soql queries to fetch the records by grouping based on specific fields Yes we can use having. * What is the diffrence between List, set, map? A) List: List is a Unordered collection of values. It contains duplicate values. Each value is retrieved using the List Index. Set: Set is an ordered collection of values. It does not contains duplicate values. Map: Map is a key value pair datatype.duplcate value but not duplicate key. * What is the difference between workflow and Triggers? A) workflow Trigger 1. workflow is inbuilt functionality 1.Trigger is used for complex business process used on single object. in which multiple objects can handle. 2. workflows fire when DML events like 2. Trigger is also same when DML events occur like
  • 3. insert, update occur.workflows cannot fire insert, update, delete.in deletion trigger will fire. when delete event occur. 3. workflows will only help to update the same object 3. Trigger can work across objects and where in or master object in custom master detail relationship. you can query the object as well as you can do DMLs. * How can you display error messages on visualforce page? A) <apex:pagemessages/> * Call by reference and call by value in APEX? A) Object references are call by reference and primitive types are call by value. * I need to put five radio buttons how can you do that? A) Using <apex:selectRadio> tag. * How can you show error messages on VF pages? A) ApexPages.addMessage() * Deployment Steps A) . Create a Developer Sandbox • Authorize a Deployment Connection • Create and Upload an Outbound Change Set • Validate an Inbound Change Set • Deploy an Inbound Change Set