Dynamic Dashboard,Time Based Workflow,Master-Detail relationship in Salesforce

181. How can you determine that email is actually sent or not from the salesforce?

There is an Email log that you could use. It’s available in the setup menu under Monitoring.
It’s only for the past 30 days and you would have to manually check it.
From the email log page: “Email logs describe all emails sent through salesforce.com and can be used to help identify the status of an email delivery. Email logs are CSV files that provide information such as the email address of each email sender and its recipient, the date and time each email was sent, and any error code associated with each email. Logs are only available for the past 30 days.”

182. In salesforce which fields are indexed automatically?

 The following fields are indexed by default:
•         primary keys (Id, Name and Owner fields),
•         foreign keys (lookup or master-detail relationship fields),
•         audit dates (such as LastModifiedDate),
•         Custom fields marked as External ID or Unique

183. Give any scenario when you cannot change the currency field type to numeric type.
When the field is used either in Apex class or trigger

184. Consider a scenario where you have created a Visualforce page and Controller. You want to restrict the controller action for users which are logged in using “Grant Login Access”. How to achieve this?

When System admin logged in on the behalf of any other user, On upper right corner message is displayed that user is logged-in on behalf of some other user. In Visualforce page we can search for the element with class name present or not? If the element with that Class name exist means logged-in user is not an actual user.

185. How to get the debug log of Connection user in salesforce to salesforce Integration?

When configuring Debug Logs, you cannot choose a Salesforce to Salesforce Connection User from the User Lookup, but there is a workaround to achieve this.

To begin capturing Debug Logs for a Connection User open the following URL in your browser:
https://XXX.salesforce.com/p/setup/layout/AddApexDebugLogUser?retURL=%2Fsetup%2Fui%2FlistApexTraces.apexp&UserLookupInput_lkid=YYYYYYYYYYYYYY
&UserLookupInput=Connection%20User
Replace XXX with your salesforce instance, UserLookupInput_lkid is the ID of the Connection User and UserLookupInput is the User name. You can find the user ID of the connection user, by inspecting the CreatedById for a record created by this user. (eg. via eclipse or Force.com explorer)


186. We have a “Time Based Workflow” and there is Action scheduled to be executed. If we Deactivate the workflow, Scheduled actions will be removed from queue or not?

Even after deactivation of workflow, its action will be active in queue.

187. We have “Time Based Workflow” and there is action scheduled to be executed. Can we delete that workflow?
If a workflow has any pending time dependent action, then we cannot delete the workflow.

188. How to clear the Time based workflow action queue?

Two ways to achieve this:
1. Make criteria false for all those records.
2. Navigate to “Set up | Monitoring | Time Based Workflow”, search for scheduled actions and remove from queue.

189. While creating workflow on Task, what difference observed on available actions?

“Send Email” action is not available while creating workflow on task.

190. When loading data into date fields such as Opportunity Close Date using the Data Loader, the date displayed in the application is sometimes one day earlier than the date in the file. What may be the reason and solution?
The reason for this is that fields such as Close Date are actually date/time fields. When a date is loaded without specifying the time, the time is defaulted to 00:00 – midnight. When another user is in a time zone which is behind the current user’s time zone, the date will show on the previous day.
For example:
20 August 2008 00:00 in Paris is 19 August 2008 23:00 in London
Similar issues can arise when daylight savings time begins or ends.
Two simple solutions to this are:
1) Specify a time as well as a date when loading dates using the Data Loader. Or
2) Switch your PC’s time zone to Hawaiian time before starting up the Data Loader.

191. Explain dynamic Dashboard.

Dashboard which is running under current logged in user permission is known as “dynamic Dashboard”. At the most 3 dynamic dashboards can be built. This is available in Unlimited, Enterprise and Developer edition. This type of dashboard cannot be scheduled for refresh. IT must be scheduled manually.

192. What is analytic Snapshot in salesforce?

Analytic snapshot capture and store the data at pre decided intervals. It captures data from report and saves in custom object as per schedule. It only supports tabular and summary report as asource report. It does not support matrix report. The field type in target object must be same as source report object field.

193. What are the features of “Manage Members” in campaign records?

Campaign members are created from lead, contact, or person account records. Salesforce provides a variety of ways in which you can manage your campaign members. You can add and update up to 50,000 campaign members at a time through lead, contact, and person account reports; you can search for and add or edit multiple leads and contacts from the Manage Members page; you can add an unlimited number of leads and contacts using a CSV import file; or you can add members to a campaign one at a time from contact or lead detail pages.

194. If I want Object level accesses then what should i use from Salesforce security model?

Profile

195. In OWD (Organization wide sharing), can I change the setting “Grant Access Using Hierarchies” for Standard Objects?

You cannot change it for Standard Objects However for Custom Objects it’s possible.

196. What is Mandatory while creating User, Role or Profile?


It’s Profile.

197.In case of Master-Detail relationship, on Update of master record can we update the field of child record using workflow rule?


No

198. In case of Master-Detail relationship, on Update of child record can we update the field of Parent record using workflow rule?

Yes, Master Fields are also available for “Criteria evaluation”.

199. While setting OWD (Organization wide sharing), can we change/modify the setting of child record in case of Master-Detail relationship?

No, Child record is controlled by the Parents setting.

200. How to hide the “App Setup” Menu from user’s setup page?

In Profile, remove access “View Setup and Configuration”.

No comments:

Post a Comment