Forcetalks | Radhakrishna | Activity https://www.forcetalks.com/radha-krishna/activity/ Activity feed for Radhakrishna. Fri, 26 Jun 2026 17:33:01 +0530 https://buddypress.org/?v=2.16.0 en-US 30 hourly 2 61753904fb6bfad630b91a951e061a50 Radhakrishna and Avinash are now connected https://www.forcetalks.com/activity/p/80677/ Tue, 25 Sep 2018 10:18:17 +0530 0 ef5c3533b3b9e82b5ab7880ac970cb55 Radhakrishna and Kumar are now connected https://www.forcetalks.com/activity/p/28086/ Fri, 29 Dec 2017 12:08:46 +0530 0 6849a39e6db35b57f7000a95554aefd9 Radhakrishna and Prakhar are now connected https://www.forcetalks.com/activity/p/27925/ Thu, 30 Nov 2017 15:08:20 +0530 0 ff703cb0c3d5b20d81ec81cb3d081627 Radhakrishna and Prafull are now connected https://www.forcetalks.com/activity/p/19058/ Wed, 06 Sep 2017 08:53:04 +0530 0 b8616aa46463a048b6ffad09b474bb09 Radhakrishna started the discussion SOQL to find Accounts without Contacts AND Opportunities in Salesforce in the forum https://www.forcetalks.com/salesforce-topic/soql-to-find-accounts-without-contacts-and-opportunities/ Mon, 21 Aug 2017 04:05:25 +0530 SOQL to find Accounts without Contacts AND Opportunities in Salesforce

I am looking for help to run a Join Query to find all out Accounts in our Database without Contacts AND Opportuntiy. I can run the query indepetly, but I would like to join the queries.

The Query I am runing to find Accounts without Contacts: Select Id, Name From Account Where Id NOT IN (SELECT AccountId FROM Contacts)
Query to find… Read more

]]>
627a01a99bd2cd1f8c94474d0a879328 Radhakrishna started the discussion Customize tabs on Salesforce Lightning page layouts for different record types? in the forum https://www.forcetalks.com/salesforce-topic/customize-tabs-on-lightning-page-layouts-for-different-record-types/ Mon, 21 Aug 2017 04:04:19 +0530 Customize tabs on Salesforce Lightning page layouts for different record types?

Is there a way to customize an object record page in lightning? I want certain tabs to appear on certain record types.

]]>
e1df5543acc908444065fd21550f8321 Radhakrishna started the discussion How to prevent a Salesforce record from being deleted in account object when rating is set to hot? in the forum https://www.forcetalks.com/salesforce-topic/how-to-prevent-a-record-from-being-deleted-in-account-object-when-rating-is-set-to-hot/ Mon, 21 Aug 2017 04:04:01 +0530 How to prevent a Salesforce record from being deleted in account object when rating is set to hot?

trigger Tour on Account (before insert ) {
Account sam=Trigger.new[0];
if(sam.Rating==’Hot’ )
{
sam.AddError(‘record cannot be deleted’);
}
}

 

Even though when I run this record is deleting.

can someone help me with this ?

]]>
b8dff5166f5eb3e0af34a87f383f2578 Radhakrishna started the discussion How to show related contacts under account in a Salesforce Visualforce page? in the forum https://www.forcetalks.com/salesforce-topic/how-to-show-related-contacts-under-account-in-vf-page/ Mon, 21 Aug 2017 04:03:25 +0530 How to show related contacts under account in a Salesforce Visualforce page?

I’m displaying all accounts in a visual force page where each row is having a first column as a ‘+'(expands). On clicking of symbol i wants to show related contacts under the same account.When I click on symbol account columns should be displayed in single row only and contacts should come below.

]]>
810fef56220fb5969a5474b028f4b6bd Radhakrishna started the discussion How to create a PageBlockTable for Parent to Child Relationship in Salesforce? in the forum https://www.forcetalks.com/salesforce-topic/creating-a-pageblocktable-for-parent-to-child-relationship/ Mon, 21 Aug 2017 04:03:02 +0530 How to create a PageBlockTable for Parent to Child Relationship in Salesforce?

i have done a pageblocktable with parent to child relationship. here is a problem i can see the whole records on my profile (system admin) but another user can not see these records with the same pageblocktable. i have given field level security,profile permissions on those objects also.
still why can not he see those records?please mention me… Read more

]]>
abd0c4d516d35d627a62a03690cbae56 Radhakrishna replied to the discussion Can any one tell me when do we use custom controller in Salesforce with extension class? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/any-one-tell-me-when-we-use-custom-controller-with-extension-class-please-give-me-one-example/#post-21736 Mon, 21 Aug 2017 03:31:49 +0530 Reply to Can any one tell me when do we use custom controller in Salesforce with extension class?

Hello Uday,

Hope you will have better understanding now with these many answers… 🙂

Let me add few more points here, I would say, A Controller is an Apex Class but an Apex Class is not always a Controller. Further you can call apex class in many different ways:-

From another class
From Trigger
From Visualforce page
From Developer… Read more

]]>
64e6914d2096c8c1feef2f3c390e545e Radhakrishna started the discussion Approval Process in Salesforce: Unlock Record BEFORE Field Update in the forum https://www.forcetalks.com/salesforce-topic/approval-process-unlock-record-before-field-update/ Thu, 17 Aug 2017 05:46:44 +0530 Approval Process in Salesforce: Unlock Record BEFORE Field Update

Is it possible to ensure an approval process’s final approval/rejection unlocks the record before any of the field updates happen?

Ordinarily it seems like it doesn’t especially matter, as field updates are somehow applied despite being locked, but I am running a trigger off those field updates that attempts to delete the record, but… Read more

]]>
db3c9c0f8a4e17aa52f0e6346c8180bc Radhakrishna started the discussion Salesforce1 lightning component apex controller offline in the forum https://www.forcetalks.com/salesforce-topic/salesforce1-lightning-component-apex-controller-offline/ Thu, 17 Aug 2017 05:41:08 +0530 Salesforce1 lightning component apex controller offline

What i have done so far: a lightning component that accesses data (accounts, custom objects) through an apex controller. The component in the end creates a custom object record and makes an insert. The lightning component is accessed as an action button on the account or from a tab in the navigation of the salesforce1 app.

So what i want… Read more

]]>
47f60b7caee2a73a8c81e4a84801dd78 Radhakrishna started the discussion Scheduled Salesforce report not getting to user in the forum https://www.forcetalks.com/salesforce-topic/scheduled-report-not-getting-to-user/ Thu, 17 Aug 2017 05:38:37 +0530 Scheduled Salesforce report not getting to user

Salesforce.com could not email the report to any of the specified recipients. Check that recipients are specified and that they have the appropriate permissions to view the report.

If you get this ^error:

Make sure you also check:
Setup > Customize > Reports & Dashboards > Email Notifications > Allow Reports and Dashboards to Be Sent to… Read more

]]>
5dfc8b0d738dd260c59707a6a4dd483a Radhakrishna started the discussion Stages available only when another specific stage has been selected in Salesforce in the forum https://www.forcetalks.com/salesforce-topic/stages-available-only-when-another-specific-stage-has-been-selected/ Wed, 16 Aug 2017 06:04:31 +0530 Stages available only when another specific stage has been selected in Salesforce

Hi,

In my Opportunity path, I have 2 stages that will only be needed by the user if another previous stage was selected.

For instance, the stages “Pending Document” and “Waiting for Approval” are only needed if the previous stage “Form Requested” was selected. Most of the time, no form is requested and therefore the 2 next stages are… Read more

]]>
d3d0940d6272201ce325f22d40106e9f Radhakrishna started the discussion Side Panel Error Outlook 2010 in Salesforce Lightning in the forum https://www.forcetalks.com/salesforce-topic/side-panel-error-outlook-2010/ Wed, 16 Aug 2017 05:43:19 +0530 Side Panel Error Outlook 2010 in Salesforce Lightning

I have someone who has Office 2010 and we recently installed the Side Panel for Outlook, and have received the following error- “COM object that has been separated from its underlying RCW cannot be used.”

Any advice on how to fix this? Upgrading Office or using the Lightning for outlook plugin are not options.

]]>
6ed1de2155a310e1b9ce20e9be0cb0d4 Radhakrishna started the discussion I would like a Salesforce dashboard component to show in the forum https://www.forcetalks.com/salesforce-topic/i-would-like-a-dashboard-component-to-show/ Wed, 16 Aug 2017 05:42:38 +0530 I would like a Salesforce dashboard component to show

I would like a dashboard component to show 1) Sales quota, 2) sales actual, 3) GM quota, 4) GM actual for three years starting 2016. I created these 12 custom fields in my user record. Report chart cannot work. Prof. Edit. How to accomplish? Thanks.

]]>
15f347b1082ac4c3f6a6464662f1db58 Radhakrishna started the discussion Hi There, Trying to sync event series but when I click the calendar logo next to the related Salesforce record in the forum https://www.forcetalks.com/salesforce-topic/hi-there-trying-to-sync-event-series-but-when-i-click-the-calendar-logo-next-to-the-related-record/ Wed, 16 Aug 2017 05:42:20 +0530 Hi There, Trying to sync event series but when I click the calendar logo next to the related Salesforce record

Trying to sync event series but when I click the calendar logo next to the related record, I get he message: “First sync the series to salesforce”, but then how do I do that?

Btw, I have made sure that my ‘sync recuring event’ checkbox in data set it checked.

Thanks for any help in clearing this up.

]]>
e2aed1ea8e1acda7cce51a5ebcd0ecc3 Radhakrishna started the discussion Integration - Salesforc PE (Professional Edition) integration with MS365. Does it work? Any good links? in the forum https://www.forcetalks.com/salesforce-topic/integration-salesforc-pe-integration-with-ms365-does-it-work-any-good-links/ Wed, 16 Aug 2017 05:39:36 +0530 Integration - Salesforc PE (Professional Edition) integration with MS365. Does it work? Any good links?

Hi All – Anybody out there implemented a Salesforce for Outlook integration based on PE and Office365? Does it work as advertised if you have. Thanks.

]]>
da7a80b88ddeefdf62a2f096cf38b2dd Radhakrishna started the discussion How to track the usage of each function in Salesforce? in the forum https://www.forcetalks.com/salesforce-topic/how-to-track-the-usage-of-each-function/ Wed, 16 Aug 2017 05:39:04 +0530 How to track the usage of each function in Salesforce?

I would like to check the usage of each function like
– How many times users clicked “opportunity” component
– How many times users clicked specific components last month

Is there any way to do this? If not, it would be great if you can share your idea on tracking the usage of the system and how to set up the KPI for measaurement

]]>
30ea46fafd7e90733e8f1ddbd069d581 Radhakrishna started the discussion How to create a Pie chart with 3 or more fields in Salesforce? in the forum https://www.forcetalks.com/salesforce-topic/pie-chart-with-3-or-more-fields/ Wed, 16 Aug 2017 05:38:42 +0530 How to create a Pie chart with 3 or more fields in Salesforce?

I am trying to create a pie chart comparing more than 2 fields. Anyone have experience the same problem and have a solution for it? Thank you!!!

]]>
697244e33ec0ec1a544962ecc72b412c Radhakrishna replied to the discussion any batch apex scenarios in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/any-batch-apex-scenarios-in-salesforce/#post-21630 Mon, 14 Aug 2017 11:17:59 +0530 Reply to any batch apex scenarios in Salesforce?

Hello Uppada kishore,

We use batch apex for bulk processing. Let’s say you want to update thousands to accounts on a regular basis or (even if just one time) and real time update is not a MUST HAVE requirement. You know how you are bound by governor limits for all the retrievals , updates , inserts.

Batch class has much wider governor limits… Read more

]]>
dc5de9ef680c9d805859aba19298b570 Radhakrishna replied to the discussion What is difference between Visual Workflow and Workflow Rule in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-difference-between-visual-workflow-and-workflow-rule/#post-21629 Mon, 14 Aug 2017 11:09:29 +0530 Reply to What is difference between Visual Workflow and Workflow Rule in Salesforce?

Hello Shubham,
You can call the flow when the user clicks on a custom button/link ,A Process starts ,Apex is called ,Inline Visualforce page ,The user accesses a custom tab. Flows can execute logic, interact with the Salesforce database, call Apex classes, and guide users through screens for collecting and updating data. You can take a look… Read more

]]>
1bbdde70f48ca438bfb496e7b92773d3 Radhakrishna started the discussion I need the formula for a workflow in Salesforce in the forum https://www.forcetalks.com/salesforce-topic/i-need-the-formula-for-work-flow/ Mon, 14 Aug 2017 10:25:07 +0530 I need the formula for a workflow in Salesforce

i need a workflow for—- when a new product is created and record type equals to XYZ their is a standard revenue checkbox field should be checked in .

]]>
67ff31b6e495dd6ee3124a04aeb61157 Radhakrishna replied to the discussion How to take List of Account into a JavaScript variable on a Salesforce Visualforce page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-take-list-of-account-into-a-javascript-variable-in-visualforce-page/#post-21627 Mon, 14 Aug 2017 10:22:05 +0530 Reply to How to take List of Account into a JavaScript variable on a Salesforce Visualforce page?

Hello Shariq,

JavaScript variable in Visualforce page

A simple example :

Visualforce :

<apex:page controller=”javascriptLearning”>
<script>
alert(‘{!lstAssignToArray}’);
var myList = new Array();
myList = ‘{!lstAssignToArray}’;
alert(myList);
</script>
</apex:page>

Apex Controller:

public with sharing class javascriptLearning… Read more

]]>
177f798f046d8e76b7a073dc0fbd5f35 Radhakrishna replied to the discussion Can we call apex function and script function at the same time by clicking a button on Salesforce visualforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-we-call-apex-function-and-script-function-at-the-same-time-by-clicking-a-button-on-visualforce/#post-21578 Fri, 11 Aug 2017 09:03:16 +0530 Reply to Can we call apex function and script function at the same time by clicking a button on Salesforce visualforce?

Hello Shariq,

Instead of onclick try – oncomplete event.

<apex:commandButton value=”Save” action= “{!save}”
Oncomplete=”javascript:top.window.opener.closeFunction()” />

]]>
e799b32fdf79a4afc2fe20bf2f3082de Radhakrishna replied to the discussion How to turn my input field empty on the button click? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-turn-my-input-field-empty-on-the-button-click/#post-21576 Fri, 11 Aug 2017 08:57:08 +0530 Reply to How to turn my input field empty on the button click?

Hello Shariq,

Add a check when the button is clicked to see if there is any text. If there isn’t, pop up an alert box (or some other form of feedback) to tell the user to enter data, and don’t do the button functionality.

<input id=”myText” type=”text” onkeyup=”stoppedTyping()”>
<input type=”button” value=”Click to begin!”… Read more

]]>
61a4e625eaa8fce7d5fa95f483f3cd3e Radhakrishna replied to the discussion How to turn my input field empty on the button click? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-turn-my-input-field-empty-on-the-button-click/#post-21576 Fri, 11 Aug 2017 08:57:08 +0530 Reply to How to turn my input field empty on the button click?

Hello Shariq,

<input id=”myText” type=”text” onkeyup=”stoppedTyping()”>
<input type=”button” value=”Click to begin!” id=”start_button” onclick=”verify()” disabled/>

<script type=”text/javascript”>
function stoppedTyping(){
if(this.value.length > 0) {
document.getElementById(‘start_button’).disabled = false;
}… Read more

]]>
80ac63f23d5f4d6a5a4bd858f8d8bb65 Radhakrishna replied to the discussion What is the Difference between 'multipart/form-data' and 'application/x-www-form-urlencoded' in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-the-difference-between-multipartform-data-and-applicationx-www-form-urlencoded/#post-21575 Fri, 11 Aug 2017 08:54:34 +0530 Reply to What is the Difference between 'multipart/form-data' and 'application/x-www-form-urlencoded' in Salesforce?

Hello Aman,

 

The MIME types you mention are the two Content-Type headers for HTTP POST requests that user-agents (browsers) must support. The purpose of both of those types of requests is to send a list of name/value pairs to the server. Depending on the type and amount of data being transmitted, one of the methods will be more efficient… Read more

]]>
6b623552d9657729a85ccf55083f7c8e Radhakrishna replied to the discussion Any one tell me Salesforce visualforce best practices in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/any-one-tell-me-visualforce-best-practices/#post-21574 Fri, 11 Aug 2017 08:43:16 +0530 Reply to Any one tell me Salesforce visualforce best practices

]]>
dd3c7c9f9d843063ca01221b41d884e1 Radhakrishna started the discussion Help writing my first apex trigger in Salesforce - I have a simple use case in mind in the forum https://www.forcetalks.com/salesforce-topic/help-writing-my-first-apex-trigger-i-have-a-simple-use-case-in-mind/ Thu, 10 Aug 2017 05:56:50 +0530 Help writing my first apex trigger in Salesforce - I have a simple use case in mind

Hello World!
I have a use case that requires a trigger and it sounds about as simple as it gets. We have an external application called BrightTALK integrated with our Salesforce org. Trouble is, we use State and Country Picklists and BrightTALK tries to push Leads into our Salesforce org with Country names that do not match the countries in… Read more

]]>
d5ffd337e25d4a0bf4d6a04fb15be295 Radhakrishna started the discussion Admin needs to preserve carriage returns in transfer of text fields in Salesforce in the forum https://www.forcetalks.com/salesforce-topic/admin-needs-to-preserve-carriage-returns-in-transfer-of-text-fields/ Thu, 10 Aug 2017 05:55:06 +0530 Admin needs to preserve carriage returns in transfer of text fields in Salesforce

Hello developers,
I am working on an apex script to do a one time transfer of data from one object to another. One of the fields that has to be transferred is a large text area field. It will be transferred to a Rich text area field. I can’t figure out how to preserve the carriage returns. Below is the simple version of my script that I have… Read more

]]>
10ffba4288e85d771cdcabf519776e05 Radhakrishna replied to the discussion Why SeeAllData(True) in Salesforce? Why we use it? what will happen if it is false? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/why-seealldatatrue-why-we-use-it-what-will-happen-if-it-is-false/#post-21543 Thu, 10 Aug 2017 05:46:08 +0530 Reply to Why SeeAllData(True) in Salesforce? Why we use it? what will happen if it is false?

Hello,

IsTest(SeeAllData=true) Annotation
use the isTest(SeeAllData=true) annotation to grant test classes and individual test methods access to all data in the organization,
1) If a test class is defined with the isTest(SeeAllData=true) annotation, this annotation applies to all its test methods whether the test methods are defined with… Read more

]]>
df5fcb179aad749b474a3ae6b0a6b5f3 Radhakrishna replied to the discussion Can we have different triggers on same object?If yes, then is it best practice to use? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-we-have-different-triggers-on-same-objectif-yes-then-is-it-best-practice-to-use/#post-21542 Thu, 10 Aug 2017 05:37:20 +0530 Reply to Can we have different triggers on same object?If yes, then is it best practice to use?

Hello Shaharyar,

One trigger per object is recommended for best practice. Please see the link below for apex trigger best practices
https://developer.salesforce.com/page/Trigger_Frameworks_and_Apex_Trigger_Best_Practices
https://developer.salesforce.com/page/Best_Practice:_Streamline_Multiple_Triggers_on_same_Object

]]>
bdbaf2f4c60b89f7bf661d7013d4d86d Radhakrishna replied to the discussion Why we use Test.starTest and Test.stopTest in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/why-we-use-test-startest-and-test-stoptest/#post-21541 Thu, 10 Aug 2017 05:33:57 +0530 Reply to Why we use Test.starTest and Test.stopTest in Salesforce?

Hello Shaharyar,

 

As you must know by now that Apex is governed by certain boundaries. THe term coined for this is ‘Governor Limits’.

There are two additional system static methods provided by Apex. These methods, Test.startTest and Test.stopTest, are used when testing governor limits. Or in other words, executing test scenarios with a… Read more

]]>
ebdae110092c4d0efd679cf52e793fe2 Radhakrishna commented on the post, What are the Different Platforms for Salesforce Mobile App Development Tools? https://www.forcetalks.com/?p=127 Wed, 09 Aug 2017 09:05:25 +0530 93b1e1ee72f8919a17a4b1883f83067f Radhakrishna replied to the discussion Can u please help me on prepopulate the fields values before save in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-u-please-help-me-on-prepopulate-the-fields-values-before-save/#post-21407 Wed, 02 Aug 2017 06:23:53 +0530 Reply to Can u please help me on prepopulate the fields values before save in Salesforce?

Hello Naren,

Are you trying to pass data from one object to another when a new record is created? Assuming so you have a few options depending on if you are in Classic or Lightning.

If in Classic you can create a hacked URL button that passes data from one record to another.

If in Lightning you can use Quick Actions and prepopulate values… Read more

]]>
08d5b17af4e2950dd73951345dbba4d3 Radhakrishna replied to the discussion How to show error message on the detail page of Salesforce sobject through before delete trigger? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-show-error-message-on-the-detail-page-of-sobject-through-before-delete-trigger/#post-21406 Wed, 02 Aug 2017 06:19:07 +0530 Reply to How to show error message on the detail page of Salesforce sobject through before delete trigger?

Hello Shariq,

Try this once…

1. Go to Setup | Customize | <Standard Object Name> | Buttons, Links & Actions and then Click ‘New Button or Link’ or if it is a Custom Object then go to Setup | Create | Objects and then click on the Custom Object name. Scroll down to find the section ‘Buttons, Links, and Actions’ and then click ‘New Button… Read more

]]>
d88082de70af617be9eccb70e48a254a Radhakrishna replied to the discussion Difference between global and static keyword in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/difference-between-global-and-static-keyword/#post-21405 Wed, 02 Aug 2017 06:13:41 +0530 Reply to Difference between global and static keyword in Salesforce?

Hello Shubham,

Static and global variable differ a lot in their behaviour to life and scope. First, let me distinguish between life and scope. Life of an object determines whether the object is still in the memory (of the process) whereas scope of the object is whether can I know the variable by its name at this position. It is possible… Read more

]]>
75053c713c19d568560b46bcaee05ce5 Radhakrishna posted a new post. https://www.forcetalks.com/?p=21376 Wed, 02 Aug 2017 05:46:51 +0530
Diverse Platforms for Salesforce Mobile App Development Tools

In the age where 95% of the people own mobile devices and use cloud services, having a mobile application for every business has become more…

]]>
0df2a6888d8c38361021edf0f9dd0af2 Radhakrishna replied to the discussion How to show java script variables on a Salesforce Visualforce page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-show-java-script-variables-on-a-salesforce-visualforce-page/#post-21390 Tue, 01 Aug 2017 11:14:24 +0530 Reply to How to show java script variables on a Salesforce Visualforce page?

Hello Shariq,

Displaying a JavaScript variable can be done, but not as easily as you might think, as you can’t embed ‘<‘ characters in the output string.

I use the following mechanism:

Two methods in my controller to generate the beginning/end of the JavaScript write:
public String getJSStart() { return ‘<script>document.write(‘; }… Read more

]]>
98b866976d981987fdbb5073f16587dd Radhakrishna started the discussion fire Workflow Rule or Process builder on change in formula field in the forum https://www.forcetalks.com/salesforce-topic/fire-workflow-rule-or-process-builder-on-change-in-formula-field/ Tue, 01 Aug 2017 08:40:43 +0530 fire Workflow Rule or Process builder on change in formula field

fire Workflow Rule or Process builder on change in formula field

]]>
14793c4889b9b91c3eeaecbb11775d99 Radhakrishna started the discussion Is there any way we can add new attachments to the records when Salesforce1 is offline? in the forum https://www.forcetalks.com/salesforce-topic/is-there-any-way-we-can-add-new-attachments-to-the-records-when-salesforce1-is-offline/ Tue, 01 Aug 2017 08:40:08 +0530 Is there any way we can add new attachments to the records when Salesforce1 is offline?

Is there any way we can add new attachments to the records when Salesforce1 is offline?

]]>
bbf0f794258882b1264f9b6293cfa3a0 Radhakrishna replied to the discussion how we can edit the description of account through Salesforce Apex code? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-we-can-edit-the-description-of-account-through-apex-code/#post-21383 Tue, 01 Aug 2017 08:23:13 +0530 Reply to how we can edit the description of account through Salesforce Apex code?

Hello Shubham,

 

You need to create new “instance” of Account and need to add Id and RecordTypeId in it to update.

Right now in your code it is taking entire object returned from SOQL. Rather than updating same list you received from SOQL, create new list of Account and update that.

Put this line before SOQL on account.
List<Account> =… Read more

]]>
6f5bd1441a0e7cc0f1c1c164c5976e40 Radhakrishna replied to the discussion What is mixed DML error? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-mixed-dml-error/#post-21382 Tue, 01 Aug 2017 08:19:41 +0530 Reply to What is mixed DML error?

Hello Shariq,

sObjects That Cannot Be Used Together in DML Operations. DML operations on certain sObjects, sometimes referred to as setup objects, can’t be mixed with DML on other sObjects in the same transaction.

Mixed DML operations within a single transaction aren’t allowed. You can’t perform DML on a setup sObject and another sObject in… Read more

]]>
786ec1996c15aed49d3ba3331dfe8cc1 Radhakrishna replied to the discussion how to override standard list view page in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-override-standard-list-view-page/#post-21381 Tue, 01 Aug 2017 08:09:28 +0530 Reply to how to override standard list view page

Hello Uday,

You can create a VF page.

Step 1: Create a VF page using the code below

<apex:page standardController=”Your_Object_API” recordSetVar=”x”
action=”{!URLFOR($Action.Your_Object_API.List,$ObjectType.Your_Object_API)}” />

Step 2 Go to: Setup > Customize > “Your_Object” > Buttons, Links and Actions or Setup > Create > Objects… Read more

]]>
f8c665ab2732f5c640ff02b97fa02f91 Radhakrishna started the discussion A formula field dependent on a picklist value in Salesforce in the forum https://www.forcetalks.com/salesforce-topic/a-formula-field-dependent-on-a-picklist-value/ Fri, 28 Jul 2017 07:48:54 +0530 A formula field dependent on a picklist value in Salesforce

I am in the process of setting up a new grading system on my Task object. There are a bunch of fields and depending on the Task Type (a picklist), each field would need to hold a different, predefined score.

The second component to this grading system would need to factor in an additional bunch of fields which would also hold a… Read more

]]>
8597c1d23cdb3e45bf50ac021f6c7e9e Radhakrishna started the discussion Using Cases as an internal helpdesk for Salesforce.com users in the forum https://www.forcetalks.com/salesforce-topic/using-cases-as-an-internal-helpdesk-for-salesforce-com-users/ Fri, 28 Jul 2017 07:46:41 +0530 Using Cases as an internal helpdesk for Salesforce.com users

I’m trying to configure cases so that my SF users can open cases from one team to another. For instance a sales person needs a contract reviewed by the legal department etc. But, the ‘Contact’ is required on the Case page layout? These would be cases that have nothing to do with a Contact. I don’t want to have to try to recreate all the… Read more

]]>
9be60add45112c5caed3ec984097d179 Radhakrishna replied to the discussion Can we make the custom object Name field a LookUp or Master-Detail in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-we-make-the-custom-object-name-field-a-lookup-or-master-detial/#post-21298 Fri, 28 Jul 2017 07:38:41 +0530 Reply to Can we make the custom object Name field a LookUp or Master-Detail in Salesforce?

Hello Shariq,

 

Effective Summer ’13, you can reference fields from the account owner using the following syntax:

Account__r.Owner.SomeField

The syntax is a little different depending on whether the object supports Queues as owners, or just Users. For more information, see “Using the Owner Field” in Tips on Building Formulas.

However… Read more

]]>
199f0712d3a5db688927b58fe9fd8710 Radhakrishna replied to the discussion How to Count the number of contact using Trigger in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/count-the-number-of-contact-using-trigger/#post-21297 Fri, 28 Jul 2017 07:31:10 +0530 Reply to How to Count the number of contact using Trigger in Salesforce?

Hello Adarsh,

It’s easier to read the code if you use the <> and paste code in there, then you can also refer to the line in the code the error is pointing to. There is a blog post out there that might help you out:

Trigger to count number of Contacts associated with an Account

]]>
d3a4a5ffcefb4bae7cab0cc09e54df7f Radhakrishna replied to the discussion Can we deactivate a flow through workbench in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-we-deactivate-a-flow-through-workbench/#post-21296 Fri, 28 Jul 2017 07:29:44 +0530 Reply to Can we deactivate a flow through workbench in Salesforce?

Hello Shariq,

please check this may help you:

https://help.salesforce.com/articleView?id=000221117&type=1

]]>