1. What is Apex?
Ans: It is
the in-house technology of salesforce.com which is similar to Java programming
with object oriented concepts and to write our own custom logic.
2. What is S-Control ?
Ans:
S-Controls are the predominant salesforce.com widgets which are completely
based on JavaScript. These are hosted by Salesforce but executed at client
side. S-Controls are superseded by Visualforce now.
3. What is a Visual force Page?
Ans: Visual
force is the new markup language from Salesforce, by using which, we can render
the standard styles of Salesforce. We can still use HTML here in Visual force.
Each visualforce tag always begins with “apex” namespace. All the design part
can be accomplished by using Visualforce Markup Language and the business logic
can be written in custom controllers associated with the Page.
4. Will
Visual force still supports the merge fields usage like S-control ?
Ans: Yes.
Just like S-Controls, Visualforce Pages support embedded merge fields, like the
{!$User.FirstName} used in the example.
5. Where to write Visualforce code?
Ans: You can
write the code basically in 3 ways.
setup->App
Setup->Develop->Pages and create new Visulaforce page.
Setup ->
My Personal Information -> Personal Information -> Edit check the
checkbox development mode. When you run the page like this, https://ap1.salesforce.com/apex/MyTestPage.
you will find the Page editor at the bottom of the page. You can write you page
as well as the controller class associated with it, there it self.
Using
EclipseIDE you can create the Visulaforce page and write the code.
6. What are Apex Governor Limits?
Governor
limits are runtime limits enforced by the Apex runtime engine. Because Apex
runs in a shared, multitenant environment, the Apex runtime engine strictly
enforces a number of limits to ensure that code does not monopolize shared
resources. Types of limits that Apex enforces are resources like memory,
database resources, number of script statements to avoid infinite loops, and
number of records being processed. If code exceeds a limit, the associated
governor issues a runtime exception.
7. Difference between Sandbox and Development
environment?
environment
for salesforce.com is crucial to change control. Salesforce.com provides the
tools needed to test anything in a test environment before you implement it in
your live instance. You can either test in a Sandbox environment or in a
Developer environment. What is the difference? I will share what I know…
Sandbox
The
salesforce.com Sandbox environment is an exact copy of your salesforce.com
instance. You can copy your live instance to a sandbox environment (but you
have to perform manually from sandbox to developer edition) where you can test
any changes, implementations, AppExchange apps or updates. It can also be your
hands-on training environment without risking your live data.
You can
either copy your configuration and data into a sandbox environment or just the
configuration. It acts exactly like your live instance, but be careful if you have
workflow rules or automations because they will work in the sandbox as well.
I know that
this sounds wonderful and if you don’t have it, you are dying to know how to
get it. The problem is the cost. If you are on Unlimited Edition, then cost is
not a problem because it comes included. But for Enterprise, Professional or
Group Editions, you have to pay… and the price is hefty; anywhere between
25k-50k per year. For a lot of companies, that is more than they are paying for
their live salesforce.com instance. So how do you test salesforce.com without
Sandbox? It is always suggested to
develop application in sandbox instance then go for LIVE.
Developer
Edition
Developer
Edition was an edition created for development of integrations and apps,
specifically for the AppExchange. It is also a great tool for testing/training
in salesforce.com. What makes this a great tool is the fact that it is free.
Anyone can get a Developer Edition of salesforce.com. It is a standard
Enterprise Edition with very limited storage space. You cannot copy your
configuration or data onto the Developer Edition, but you can customize it to
match your instance’s look and feel. Once it is customized, you can use it for
training, testing or anything else you want. It takes a little bit of work, but
you can make it act and feel just like your live instance. The work is well
worth it for the free price.
To get a copy
of Developer Edition for yourself or your company go here. Play around with it.
Get apps from the AppExchange. Do anything and everything that you have been
scared to do your live system. If you come up with a clever way of using the
system, post it on AppExchange and share your knowledge.
8. How to schedule export or take the backup of
salesforce?
Salesforce
allows you to obtain a copy of all your data using the data export
feature. You can generate backup files
manually once every six days or schedule them to generate automatically at
weekly or monthly intervals. The backup
file will come to you in the form a zip file that contains all of your
organization’s data in a set of CSV (comma-separated values) files. If you do not see the data export feature,
contact salesforce.com to have the Data Export Service activated.
Step by Step
Instruction:
Click Setup
>Data Management > Data Export > Schedule Export.
Select the
desired encoding for your export file. Leaving the default is fine.
Check the
Include in export checkbox if you want to include attachments in the export
(optional)
Leave the
default Replace carriage returns with spaces if you want your export files to
have spaces instead of carriage returns.
Select Weekly
as the the frequency for the exports.
Choose start
and end dates. Set the end date to sometime in the distant future such as 20
years from the begin date.
Set the time
of day for your scheduled export. The export is put in a job queue and the
exact time of the export will depend on the amount of activity in the queue.
You can
select the types of data to include in your export. It is best to include all
data in your export file. This will make sure all your organizations data is
exported.
Click Save.
Points to Remember:
Formula and
roll-up summary fields are never included in exports.
Articles are
not included from exports.
The export
notification email is sent to the email address on file for the user who
created the scheduled export. There is no way to indicate another email
address. If as an Administrator you want the email to go to another person,
have them grant you login access, login as them and schedule the data export.
Important:
Scheduled
backup exports of your data is limited to weekly exports.
You have 48
hours from the time you are notifiedthe backup is available to download the
backup file.
The email
notification for backups goes to the email address in Salesforce of the person
logged in who schedules the backup
10. Do governor limits apply to sandbox
instances?
Ans :
Governor limits do apply to all Salesforce instances (trial, developer,
production or sandbox environments). However code coverage and successful
execution of test classes is only enforced when deploying to a production
environment.
-----
Hi Friends,
Its just a base level questions. Searching for more Interview and Certification questions and will post it soon. And you can also post your queries if you have any while doing development in salesforce. I will try to give you solution for it.
Keep in touch.....
Your's