Forcetalks | Gourav | Activity https://www.forcetalks.com/gourav/activity/ Activity feed for Gourav. Wed, 28 Jan 2026 10:18:34 +0530 https://buddypress.org/?v=2.16.0 en-US 30 hourly 2 f50efe02a546522b33d65d293889e38a Gourav updated their profile https://www.forcetalks.com/activity/p/66616/ Wed, 21 Mar 2018 15:19:27 +0530 0 1ef0a5ad4008b768b17323ce29ece211 Gourav started the discussion How to get the state and country name when we click on the map, using Leaflet JS in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/leaflet-js/ Wed, 21 Mar 2018 15:12:56 +0530 How to get the state and country name when we click on the map, using Leaflet JS in Salesforce?

Is there a way to get the state and country name, When we click on the map?

]]>
0344dadca3980cf88d7bb40ac1d2411b Gourav and Neha are now connected https://www.forcetalks.com/activity/p/28042/ Thu, 28 Dec 2017 05:40:04 +0530 0 3e94975bd3bb77f904d2b5d3c1aed821 Gourav and Vara are now connected https://www.forcetalks.com/activity/p/17864/ Fri, 30 Jun 2017 12:00:18 +0530 0 1ef98fa80818cfafd2a1ebc1f9d1badf Gourav and Abhishek are now connected https://www.forcetalks.com/activity/p/17382/ Tue, 06 Jun 2017 10:01:14 +0530 0 398414f3e973263edb6819e3aa64861b Gourav and Mahadev are now connected https://www.forcetalks.com/activity/p/13255/ Thu, 20 Oct 2016 09:51:41 +0530 0 1b2e636aa9ee130a6d8376edfb08da56 Gourav replied to the discussion How to Integrate Paypal with Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/paypal-integration-with-salesforce/#post-16602 Mon, 03 Oct 2016 14:18:28 +0530 Reply to How to Integrate Paypal with Salesforce?

Hi Vicky,

There are 2 links I find to integrate Paypal with Salesforce

https://developer.paypal.com/docs/integration/direct/rest-payments-overview/

http://techsahre.blogspot.in/2011/01/simple-paypal-integration-with.html

Hope these helps you.

Thanks.

]]>
33ded27d334a4c8fec299a498b12de81 Gourav replied to the discussion In Salesforce, How to call parametrized function from Visualforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/in-salesforce-how-to-call-parametrized-function-from-visualforce/#post-16598 Mon, 03 Oct 2016 14:12:42 +0530 Reply to In Salesforce, How to call parametrized function from Visualforce?

Hi Tanu,

The <apex:param> standard component allows parameters to be defined for a parent component, which can be assigned to a controller property.

VF Page:-

<apex:commandButton value="Del" action="{!delCont}" rerender="all">
<apex:param name="contIdParam"… Read more

]]>
147eb3f3301665007c383b60473c1895 Gourav replied to the discussion How can we get the Salesforce apex:repeat variable in the Javascript method? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-get-the-apexrepeat-variable-in-the-javascript-method/#post-16596 Mon, 03 Oct 2016 13:55:18 +0530 Reply to How can we get the Salesforce apex:repeat variable in the Javascript method?

Hi Mohit,

Add a styleclass="" to your components, then use jQuery's selectors. You can't use Id because it has to be set to a static item.

<apex:pageBlockSection columns="1">
<apex:outputPanel id="relatedListSelect">
<apex:repeat value="{!relatedListNames}" var="relList" id="theRelLists">
<apex:inputCheckbox… Read more

]]>
41734c256e44a7e5af02c5e44cbb4f13 Gourav replied to the discussion How to enable Person Accounts in Salesforce Dev edition? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-enable-person-accounts-in-dev-edition/#post-16595 Mon, 03 Oct 2016 13:52:31 +0530 Reply to How to enable Person Accounts in Salesforce Dev edition?

Hi Tanu,

You need to log a ticket to salesforce to enable Person Accounts in Dev Edition.

To log a ticket -> Login into your Dev Edition -> Click on "Help" at the Top -> Click on "My Cases" -> Click On "Log A Case" -> Select the Case Reason as "Feature Activation Request" -> Select  "Feature Activation" in  "General Activation Area" and ask… Read more

]]>
694d0e274bdda946f3bee7ae77105027 Gourav replied to the discussion How to check debug log for the installed Salesforce app? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-check-debug-log-for-the-installed-salesforce-app/#post-16594 Mon, 03 Oct 2016 13:48:13 +0530 Reply to How to check debug log for the installed Salesforce app?

Hi Mohit,

Could you please provide some more details regarding your requirement? like what type of app you are using?

If you are using MANAGED package then we can't do much regarding logs. But if you are using UN-MANAGED then you can put some debug according to your understanding to check the flow of the code and the values you are… Read more

]]>
3568c83ae3bbbaca47130c8026013b8a Gourav replied to the discussion How to Import Contacts from Excel Sheet Using Salesforce visualforce Page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-import-contacts-from-excel-sheet-using-salesforce-visualforce-page/#post-16593 Mon, 03 Oct 2016 13:27:34 +0530 Reply to How to Import Contacts from Excel Sheet Using Salesforce visualforce Page?

Hi Tanu,

You can use CSV parser for this..plese refer the below example code where I have created one Visualforce page from where I am uplaoding the excel file .csv and extracting the records data and mapping with object columns

please check and let me know if it helps you

page:

<apex:page… Read more

]]>
bed5d5b5d50169cc9ff40feaebb3d205 Gourav replied to the discussion Why we use the Test.setCurrentPage(...) method in Salesforce and why should we in our apex controller unit test? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/why-we-use-the-test-setcurrentpage-method-in-salesforce-and-why-should-we-in-our-apex-controller-unit-test/#post-16592 Mon, 03 Oct 2016 13:20:05 +0530 Reply to Why we use the Test.setCurrentPage(...) method in Salesforce and why should we in our apex controller unit test?

Hi Mohit,

The Test.setCurrentPage method sets the page context for your unit test method. Good example can be below code:-

public PageReference save() {
PageReference p = null;

if (this.qp == null || !'yyyy'.equals(this.qp)) {
p = Page.failure;
p.getParameters().put('error', 'noParam');
} else {
try {
Lead newlead =… Read more

]]>
56f278210909e845ad33650b3857443c Gourav replied to the discussion Why we use the Test.setCurrentPage(...) method in Salesforce and why should we in our apex controller unit test? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/why-we-use-the-test-setcurrentpage-method-in-salesforce-and-why-should-we-in-our-apex-controller-unit-test/#post-16592 Mon, 03 Oct 2016 13:20:05 +0530 Reply to Why we use the Test.setCurrentPage(...) method in Salesforce and why should we in our apex controller unit test?

Hi Mohit,

The Test.setCurrentPage method sets the page context for your unit test method. Good example can be below code:-

public PageReference save() {
PageReference p = null;

if (this.qp == null || !'yyyy'.equals(this.qp)) {
p = Page.failure;
p.getParameters().put('error', 'noParam');
} else {
try {
Lead newlead =… Read more

]]>
9dc734c5b14499cb499a1b0f7be8e89d Gourav replied to the discussion Why we use the Test.setCurrentPage(...) method in Salesforce and why should we in our apex controller unit test? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/why-we-use-the-test-setcurrentpage-method-in-salesforce-and-why-should-we-in-our-apex-controller-unit-test/#post-16592 Mon, 03 Oct 2016 13:20:05 +0530 Reply to Why we use the Test.setCurrentPage(...) method in Salesforce and why should we in our apex controller unit test?

Hi Mohit,

The Test.setCurrentPage method sets the page context for your unit test method. Good example can be below code:-

public PageReference save() {
PageReference p = null;

if (this.qp == null || !'yyyy'.equals(this.qp)) {
p = Page.failure;
p.getParameters().put('error', 'noParam');
} else {
try {
Lead newlead =… Read more

]]>
fe6aa055bb13eb2d0d849db3574e2284 Gourav replied to the discussion Why we use the Test.setCurrentPage(...) method in Salesforce and why should we in our apex controller unit test? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/why-we-use-the-test-setcurrentpage-method-and-why-should-we-in-our-apex-controller-unit-test/#post-16592 Mon, 03 Oct 2016 13:20:05 +0530 Reply to Why we use the Test.setCurrentPage(...) method in Salesforce and why should we in our apex controller unit test?

Hi Mohit,

Hope this will help you,

This method sets the page context for your unit test method . Good example can be below code:-

public PageReference save() {
PageReference p = null;

if (this.qp == null || !'yyyy'.equals(this.qp)) {
p = Page.failure;
p.getParameters().put('error', 'noParam');
} else {
try {
Lead newlead =… Read more

]]>
feaedcb286b0716bd76e5b6e959a4f84 Gourav replied to the discussion How to pass the security review when we use the "without sharing" in apex class in salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-pass-the-security-review-when-we-use-the-without-sharing-in-apex-class-in-salesforce/#post-16591 Mon, 03 Oct 2016 13:04:57 +0530 Reply to How to pass the security review when we use the "without sharing" in apex class in salesforce?

Hi Mohit,

I would strongly suggest reading this recent post by Dan Appleman.

He outlines the various ways in which factors like sharing and CRUD/FLS play into security, and ends with the comment, which tells me you can pass security review with classes not marked as sharing so long that is clear to the users administering the system which… Read more

]]>
bf1710d8fa36fa0689d9786bb02f7bc7 Gourav replied to the discussion How can we implement the spell checker in visualforce page for some text area in Salesforce ? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-implement-the-spell-checker-in-visualforce-page-for-some-text-area-in-salesforce/#post-16590 Mon, 03 Oct 2016 13:01:55 +0530 Reply to How can we implement the spell checker in visualforce page for some text area in Salesforce ?

Hi Mohit,

You can enable a spell checker...along with many many more options in ckeditor using some javascript on your page. Its the same editor that the regular rich text editor they normally use but you'll just be adding other options including a spell check button.

simply add the following code to any visualforce page. the only setting… Read more

]]>
8bc50882d1e684276fcaafa9d0fbdb87 Gourav replied to the discussion Which criteria is used to calculate cross object field in salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/which-criteria-is-used-to-calculate-cross-object-field-in-salesforce/#post-16589 Mon, 03 Oct 2016 12:59:18 +0530 Reply to Which criteria is used to calculate cross object field in salesforce?

Hi Tanu,

Cross-object formulas are formulas that span two related objects and reference merge fields on those objects. Cross-object formulas can reference merge fields from a master (“parent”) object if an object is on the detail side of a master-detail relationship. Cross-object formulas also work with lookup relationships.

Thanks.

]]>
03f09962c14acf6ba9c4c9e1b87b259b Gourav replied to the discussion How to upload multiple attachments from Salesforce apex? please provide me some sample code in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-upload-multiple-attachments-from-salesforce-apex-please-provide-me-some-sample-code/#post-16588 Mon, 03 Oct 2016 12:56:07 +0530 Reply to How to upload multiple attachments from Salesforce apex? please provide me some sample code

Hi Tanu,

You can create an VF page to insert multiple attachments. Try this link to get more information according your requirement.

http://forceguru.blogspot.in/2012/12/uploading-multiple-attachments-into.html

Hope this will help you.

Thanks.

]]>
bdf2996c01277487e68b700fa9a04299 Gourav replied to the discussion How to open up sharing for old/exising records in system using Salesforce apex code? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-open-up-sharing-for-oldexising-records-in-system-using-salesforce-apex-code/#post-16586 Mon, 03 Oct 2016 12:51:43 +0530 Reply to How to open up sharing for old/exising records in system using Salesforce apex code?

Hi Tanu,

You can use batch class to share old records with other users e.g if your are try to share Accounts records then you can use AccountShare object which is a standard salesforce object. By this you can share Accounts records with any users who is available in salesforce.

Hope this will help you.

Thanks.

]]>
fb02a4366d27549f4e4435fc5f387b7d Gourav replied to the discussion How can we create the dynamic number column in Salesforce visualforce page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-create-the-dynamic-number-column-in-salesforce-visualforce-page/#post-16585 Mon, 03 Oct 2016 12:42:59 +0530 Reply to How can we create the dynamic number column in Salesforce visualforce page?

Hi Mohit,

What I understand by your question is that you are trying to insert the number in a page block table like Sr.No. If I am understanding it correctly then may this will help you. Try to use apex:variable and then increment that variable in the apex:repeat like below:-

<apex:variable… Read more

]]>
120759cd4c9acaff93d609e55e361525 Gourav replied to the discussion Upto how many changes does track field history kept in salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/upto-how-many-changes-does-track-field-history-kept-in-salesforce/#post-16584 Mon, 03 Oct 2016 12:28:48 +0530 Reply to Upto how many changes does track field history kept in salesforce?

Hi Pranav,

Hope this will help you.

You can select certain fields(up-to 20 fields) to track and display the field history in the History related list of an object. The field history data is retained for up to 18 months.

There is no limit for changes to record by Field History Tracking.

You can track the field history of custom objects and… Read more

]]>
2db9297270ab0f153d6f361895a75ced Gourav replied to the discussion How to change background color based on value ? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-change-background-color-based-on-value/#post-15750 Wed, 31 Aug 2016 13:06:31 +0530 Reply to How to change background color based on value ?

Hi,

Try this code-

<apex:outputText value="{!o.Textfield}" style="color:{!Case(o.Textfield, 'closed', 'red', 'open ', 'green ','Existing','grey','None')};"/>

]]>
2ab96d0f6baaae041775362461d7044e Gourav replied to the discussion How can we know the client IP Address who is accessing a landing page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-know-the-client-ip-address-who-is-accessing-a-landing-page/#post-15749 Wed, 31 Aug 2016 13:05:04 +0530 Reply to How can we know the client IP Address who is accessing a landing page?

I'd suggest using an external service to retrieve the client IP address. There are plenty of them out there but ipify.org looks suitable as it's super lightweight, it doesn't have any rate limiting and supports both IPv4 and IPv6 addresses.

Simply use:

<p>Your IP address is: %%=HTTPGet('https://api.ipify.org')=%%</p>

Which displays:

Your… Read more

]]>
86f7cb79b16df898d6203ad09023c43f Gourav replied to the discussion How can we make bulk update of record in parallel? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-make-bulk-update-of-record-in-parallel/#post-15748 Wed, 31 Aug 2016 12:56:08 +0530 Reply to How can we make bulk update of record in parallel?

@future (valid for triggers and visualforce)

From trigger or VF context you can have up to 10 calls to @future & each of them has a separate context that allows 10 callouts. So you can get up to 100 callouts from a trigger (that itself you're guaranteed will not contain more than 200 records if it's saved with API > 20.0, capped at 100… Read more

]]>
5ac978736af6778495e75a5f6ca8cd87 Gourav replied to the discussion How to change label on custom button based on value in the record being displayed? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-change-label-on-custom-button-based-on-value-in-the-record-being-displayed/#post-15747 Wed, 31 Aug 2016 12:52:33 +0530 Reply to How to change label on custom button based on value in the record being displayed?

This can be pulled off, but you need to get crafty here’s one I prepared with pink candy polka dots:

  1. go to Setup > Create > Objects > [Your Object] > Custom Buttons and Links, and hit New,
  2. create a Detail Page Button whose behaviour is to Execute JavaScript,
  3. modify the following JavaScript, using your lowercased button name in lieu of…

Read more

]]>
9e22f124242f2606edebae98505ad689 Gourav replied to the discussion How can we create a Time Based Assignment Rule by alternative way? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-create-a-time-based-assignment-rule-by-alternative-way/#post-15650 Fri, 26 Aug 2016 11:17:29 +0530 Reply to How can we create a Time Based Assignment Rule by alternative way?

Hi Mohit,

Create one custom formula field and populate the value in formula field based on your requirement.Use this field in assignment rule and fire the assignment rule.

I think it may be helpful.

]]>
f5a69ebc060bc9f1771db50b1cb31c89 Gourav replied to the discussion How to enable service contract object in salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-enable-service-contract-object-in-salesforce/#post-15648 Fri, 26 Aug 2016 11:12:43 +0530 Reply to How to enable service contract object in salesforce?

Hi Pranav,

These are the steps to enable service contract sObject.

Steps:-

  1. Give permission to user
    1. Manage Entitlements
    2. Customize Application
  2. Customize service contract fields. (This lets you control what information users add to service contracts. You can create custom service contract fields that are specific to your industry or…

Read more

]]>
f5a69ebc060bc9f1771db50b1cb31c89 Gourav replied to the discussion How to enable service contract object in salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-enable-service-contract-object-in-salesforce/#post-15648 Fri, 26 Aug 2016 11:12:43 +0530 Reply to How to enable service contract object in salesforce?

Hi Pranav,

These are the steps to enable service contract sObject.

Steps:-

  1. Give permission to user
    1. Manage Entitlements
    2. Customize Application
  2. Customize service contract fields. (This lets you control what information users add to service contracts. You can create custom service contract fields that are specific to your industry or…

Read more

]]>
f5a69ebc060bc9f1771db50b1cb31c89 Gourav replied to the discussion How to enable service contract object in salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-enable-service-contract-object-in-salesforce/#post-15648 Fri, 26 Aug 2016 11:12:43 +0530 Reply to How to enable service contract object in salesforce?

Hi Pranav,

These are the steps to enable service contract sObject.

Steps:-

  1. Give permission to user
    1. Manage Entitlements
    2. Customize Application
  2. Customize service contract fields. (This lets you control what information users add to service contracts. You can create custom service contract fields that are specific to your industry or…

Read more

]]>
21d798c7811ac4dda9a2a9b534528891 Gourav replied to the discussion How to hide standard field when it has a particular value? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-hide-standard-field-when-it-has-a-particular-value/#post-15642 Fri, 26 Aug 2016 10:25:50 +0530 Reply to How to hide standard field when it has a particular value?

Hi Pranav,

You can do this by configuration. Create one record type for each possible phase, and restrict picklist values based on the record type. You can then use workflow rules to change record types when the value changes.

]]>
6788d6460a67f45dd6834fc1f1b4caaa Gourav replied to the discussion How can we delete an user from org ? Is unchecking active box is the only way to manage the user limit in developer org ? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-delete-an-user-from-org-is-unchecking-active-box-is-the-only-way-to-manage-the-user-limit-in-developer-org/#post-15640 Fri, 26 Aug 2016 10:17:50 +0530 Reply to How can we delete an user from org ? Is unchecking active box is the only way to manage the user limit in developer org ?

Hi Pranav,

Yes, we cann't remove Users from salesforce org. We just Active or Inactive the User as per our need. Salesforce only count the active user to check the limit of user. So inactive Users doesn't affect org user limits.

 

]]>
876ac4b3be39733de63a9e4809c57e50 Gourav replied to the discussion How can we write a trigger for before and after DML operation? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-write-a-trigger-for-before-and-after-dml-operation/#post-15639 Fri, 26 Aug 2016 10:14:46 +0530 Reply to How can we write a trigger for before and after DML operation?

Apex can be invoked by using triggers. Apex triggers enable you to perform custom actions before or after changes to Salesforce records, such as insertions, updates, or deletions.
A trigger is Apex code that executes before or after the following types of operations:

  • insert
  • update
  • delete
  • merge
  • upsert
  • undelete

For example, you can have… Read more

]]>
82395e710a2fdbd8ddf988a1a6593444 Gourav replied to the discussion What will happen if trigger which causes a workflow rule to fire and then goes in a loop. Will it terminate after some update or events ? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-will-happen-if-trigger-which-causes-a-workflow-rule-to-fire-and-then-goes-in-a-loop-will-it-terminate-after-some-update-or-events/#post-15638 Fri, 26 Aug 2016 10:06:30 +0530 Reply to What will happen if trigger which causes a workflow rule to fire and then goes in a loop. Will it terminate after some update or events ?

Hi Mohit,

One workaround is to set a private static variable in a global class so it works as a flag, not avoiding the trigger fires twice instead it avoids overpassing the limits.

 

Something like this. Create a Validator Class:

 

global class Validator_cls{ private static boolean blnAlreadyDone = false; public static… Read more

]]>
152c9ef8287e61fb100d0d2de23c1b88 Gourav replied to the discussion What is the difference between the multiple messaging options in Visualforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-the-difference-between-the-multiple-messaging-options-in-visualforce/#post-15635 Fri, 26 Aug 2016 08:36:36 +0530 Reply to What is the difference between the multiple messaging options in Visualforce?

Hi Tanu,

Let me start off by explaining each of these in more detail.

apex:pageMessage is used to display a single custom message using the Salesforce formatting. You can specify the severity (which will control the display of the message box) and the strength (which will control the size of the box). Take the following code… Read more

]]>
8a78439512d08eac4ff8b222df37e3dd Gourav replied to the discussion How can we avoid the trigger from firing by a process builder? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-avoid-the-trigger-from-firing-by-a-process-builder/#post-15634 Fri, 26 Aug 2016 08:28:52 +0530 Reply to How can we avoid the trigger from firing by a process builder?

From what it seems you are dealing with a recursion problem here. The most obvious solution I can think of is using some custom settings or using a helper class that would enable the execution of the trigger one time and that would become inactive after the execution.

This would guarantee that your trigger is only being executed once.

This is… Read more

]]>
a6989f198e1525247178dc7112fe5cdb Gourav replied to the discussion Can report data be accessed programatically? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-report-data-be-accessed-programatically/#post-15633 Fri, 26 Aug 2016 08:23:16 +0530 Reply to Can report data be accessed programatically?

Hi Tanu,

Yes, you can accessed reports in apex.

Firstly, you can get a list of reports in XML from: https://instance.salesforce.com/servlet/servlet.ReportList (replacing instance with the actual server instance, such as na1)

Once you have extracted the required report Id (00O key prefix) you can then request the report data in either CSV… Read more

]]>
56f2def9c74abbb1a1ac0468c5e5cea1 Gourav replied to the discussion Can report data be accessed programatically? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-report-data-be-accessed-programatically/#post-15633 Fri, 26 Aug 2016 08:23:16 +0530 Reply to Can report data be accessed programatically?

Hi Tanu,

Yes, you can accessed reports in apex.

Firstly, you can get a list of reports in XML from:https://instance.salesforce.com/servlet/servlet.ReportList (replacing instance with the actual server instance, such as na1)

Once you have extracted the required report Id (00O key prefix) you can then request the report data in either CSV… Read more

]]>
a77f5d383bf95f172d80e9ed76eb3dd4 Gourav and Pooja are now connected https://www.forcetalks.com/activity/p/12057/ Thu, 11 Aug 2016 07:13:59 +0530 0 ff4a28bbfbdfc1bc91675b9a3706c028 Gourav and Ravi are now connected https://www.forcetalks.com/activity/p/11722/ Sun, 31 Jul 2016 07:48:47 +0530 0 cc4e365f64da88b0e37ca9f4ff41dcff Gourav replied to the discussion Disable commandButton after first click to prevent double submission in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/disable-commandbutton-after-first-click-to-prevent-double-submission/#post-13920 Tue, 05 Jul 2016 14:23:56 +0530 Reply to Disable commandButton after first click to prevent double submission

Hi Himanshu,

You can try this approach

<apex:pageBlockButtons>
<apex:actionStatus id="status" >
<apex:facet name="start">
<apex:outputPanel >
Merging... <apex:image value="{!URLFOR($Resource.blueSquares)}"/>
</apex:outputPanel>
</apex:facet>
<apex:facet name="stop">
<apex:outputPanel >
<apex:commandButton value="Merge"… Read more

]]>
5692f30edf5596124b974cfd4704a51c Gourav and Audrey are now connected https://www.forcetalks.com/activity/p/10287/ Thu, 23 Jun 2016 06:18:23 +0530 0 56b24f04dc844a77de9da93f5e08a02c Gourav and SFDCHacker are now connected https://www.forcetalks.com/activity/p/10196/ Tue, 21 Jun 2016 12:17:26 +0530 0 a26a26f32e7d587e0e24544c2c4857c9 Gourav and Danna are now connected https://www.forcetalks.com/activity/p/10188/ Tue, 21 Jun 2016 12:08:00 +0530 0 a94e58aef0786b691ce9881c32a2922e Gourav replied to the discussion How can I get completed date on Queueable logs? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/completed-date-on-queueable-logs/#post-13281 Mon, 20 Jun 2016 15:29:31 +0530 Reply to How can I get completed date on Queueable logs?

Completed date show when the job is done or completed if job is in progress or not completed or shedule for future then it can't display. So check if your apex job is done or not.

]]>
9c7dd9df4fb670fc4154358f520c291a Gourav replied to the discussion Do we need to integrate any 3rd party to implement Open CTI in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/do-we-need-to-integrate-any-3rd-party-to-implement-open-cti-in-salesforce/#post-13280 Mon, 20 Jun 2016 15:24:20 +0530 Reply to Do we need to integrate any 3rd party to implement Open CTI in Salesforce?

Salesforce CRM Call Center seamlessly integrates Salesforce with third-party computer-telephony integration (CTI) systems. Before the introduction of Open CTI, Salesforce users could only use the features of a CTI system after they installed a CTI adapter program on their machines. Yet such programs often included desktop software that… Read more

]]>
cf6977a7e7854f3005cda7586bb7c31b Gourav replied to the discussion What are the best practices to implement the email deliverability settings in salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-are-the-best-practices-to-implement-the-email-deliverability-settings-in-salesforce/#post-13279 Mon, 20 Jun 2016 15:22:05 +0530 Reply to What are the best practices to implement the email deliverability settings in salesforce?

To improve the deliverability of email you send from Salesforce, configure your organization's email deliverability settings. Email deliverability is the likelihood of a company’s or individual’s email reaching its intended recipient. This likelihood is adversely affected by:

Bounced email
Email that is addressed to an invalid recipient and… Read more

]]>
2dca85b4e1eab9617e33982af92952eb Gourav replied to the discussion How to create a mobile app using mobile SDK in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-create-a-mobile-app-using-mobile-sdk-in-salesforce/#post-13277 Mon, 20 Jun 2016 14:53:35 +0530 Reply to How to create a mobile app using mobile SDK in Salesforce?

The Salesforce Mobile SDK for Android is an open source toolkit that provides a collection of native libraries to enable developers to rapidly build Android applications that securely connect to the Salesforce Platform. The SDK abstracts the underlying OAuth 2.0 and REST API calls needed to connect an Android application with the… Read more

]]>
fe5264d5416350b170b594e99bd3874c Gourav replied to the discussion How do we export dashboard into a PDF report in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-do-we-export-dashboard-into-a-pdf-report/#post-13268 Mon, 20 Jun 2016 14:33:32 +0530 Reply to How do we export dashboard into a PDF report in Salesforce?

That´s a challenge. Here is how you should export dashboard into PDF report step by step:

  • Create a new VisualForce Page
  • Go to you dashboard and right click in the dashboard panel and select "Copy Image URL".
  • Insert the copied url inside <img></img> tags on yous VisualForce Page
  • Format the page code with lines, tables, text or anything…

Read more

]]>