Forcetalks | Abhinav | Activity https://www.forcetalks.com/abhinav-bhatia/activity/ Activity feed for Abhinav. Tue, 31 Mar 2026 08:08:13 +0530 https://buddypress.org/?v=2.16.0 en-US 30 hourly 2 a557bc15004e0b818334551a13a01848 Abhinav and Jogender are now connected https://www.forcetalks.com/activity/p/18298/ Tue, 18 Jul 2017 14:56:55 +0530 0 81394924665899d8fb181e77ca1fec1d Abhinav and Surbhi are now connected https://www.forcetalks.com/activity/p/15845/ Sat, 18 Mar 2017 06:06:49 +0530 0 f96272c79b67961e2b471b673f82b990 Abhinav replied to the discussion Some quick questions about synchronizing data between Salesforce and other systems.... in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/some-quick-questions-about-synchronizing-data-between-salesforce-and-other-systems/#post-16871 Fri, 28 Oct 2016 11:44:35 +0530 Reply to Some quick questions about synchronizing data between Salesforce and other systems....

Hi Mike,

1.Yes, when we did the integration with the external system we faced the data duplicacy issue.

We created the external Id field on the objects through that we were able to resolve the duplicacy issue.

2. We also faced the issue on API limit get exceeded.

This was because there was huge data on external system and it was getting… Read more

]]>
500209365235c34da6fda96cb161eb25 Abhinav replied to the discussion Is there any way to delete or deprecate the custom field from manage application? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-there-any-way-to-delete-or-deprecate-the-custom-field-from-manage-application/#post-16868 Fri, 28 Oct 2016 11:24:36 +0530 Reply to Is there any way to delete or deprecate the custom field from manage application?

Hi Bhavesh,

I don't think so it's possible. Because once you add any field to the managed package it cannot be removed.

If we depreciate it stops that URL to get installed anywhere else.

There is one patch org. I don't know whether is it supported by salesforce now. Through that patch org you can get the sub version of you managed package.

]]>
eef9f54e09dbc167718f93cc9ff54117 Abhinav replied to the discussion Is there any way to delete or deprecate the custom field from manage application? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-there-any-way-to-delete-or-deprecate-the-custom-field-from-manage-application/#post-16868 Fri, 28 Oct 2016 11:24:36 +0530 Reply to Is there any way to delete or deprecate the custom field from manage application?

Hi Bhavesh,

It is not possible. Because once you add any field to the managed package it cannot be removed.

If we depreciate it stops that URL to get installed anywhere else.

There is one patch org. I don't know whether is it supported by salesforce now. Through that patch org you can get the sub version of you managed package.

]]>
4a0d416324fc435ec64fdef1076b38b1 Abhinav replied to the discussion Is there any way to delete or deprecate the custom field from manage application? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-there-any-way-to-delete-or-deprecate-the-custom-field-from-manage-application/#post-16868 Fri, 28 Oct 2016 11:24:36 +0530 Reply to Is there any way to delete or deprecate the custom field from manage application?

Hi Bhavesh,

I don't think so its possible. Because once you add any field to the managed package it cannot be removed.

If we depreciate it stops that URL to get installed anywhere else.

There is one patch org. I don't know whether is it supported by salesforce now. Through that patch org you can get the sub version of you managed package.

]]>
6174665e89887676c472ede7cd36833b Abhinav and Utsav are now connected https://www.forcetalks.com/activity/p/12894/ Sat, 24 Sep 2016 06:04:33 +0530 0 efa704fd2133cb6e504f785de0f10230 Abhinav replied to the discussion How to pass parameter to the visual workflow in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-pass-parameter-to-the-visual-workflow-in-salesforce/#post-16161 Mon, 19 Sep 2016 10:40:28 +0530 Reply to How to pass parameter to the visual workflow in Salesforce?

Hi Debbie,

You can pass variables using the standard HTTP URL parameters. So from the lead page you can have a link to launch a flow and pass the leadID as the following nax.salesforce.com/flow/myLeadFlow?vaLeadID={!ID}

where vaLeadID is the unique name of the variable in flow.

<apex:page>
<flow:interview name="MyFlow">
<apex:param…

Read more

]]>
efa704fd2133cb6e504f785de0f10230 Abhinav replied to the discussion How to pass parameter to the visual workflow in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-pass-parameter-to-the-visual-workflow-in-salesforce/#post-16161 Mon, 19 Sep 2016 10:40:28 +0530 Reply to How to pass parameter to the visual workflow in Salesforce?

Hi Debbie,

You can pass variables using the standard HTTP URL parameters. So from the lead page you can have a link to launch a flow and pass the leadID as the following nax.salesforce.com/flow/myLeadFlow?vaLeadID={!ID}

where vaLeadID is the unique name of the variable in flow.

<apex:page>
<flow:interview name="MyFlow">
<apex:param…

Read more

]]>
6ad986ef37d8e88025e62a2cb8f033c7 Abhinav replied to the discussion How to enable Object history in Salesforce Lightning Experience? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-enable-object-history-in-lightning-experience/#post-16027 Thu, 15 Sep 2016 17:08:25 +0530 Reply to How to enable Object history in Salesforce Lightning Experience?

Hi Pranav,

Currently this feature is not available in lightning. I guess it would be available by Spring '17 or Summer '17 releases.

]]>
865cc5e8f635e3cdfa2b21857accf1b3 Abhinav replied to the discussion How to enable Object history in Salesforce Lightning Experience? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-enable-object-history-in-lightning-experience/#post-16027 Thu, 15 Sep 2016 17:08:25 +0530 Reply to How to enable Object history in Salesforce Lightning Experience?

Hi Pranav,

Currently this feature is not available in lightning. I guess it would be availabe by Spring '17 or Summer '17 releases.

]]>
8960aeb5eb6a780a5f8ddf264eec0fdc Abhinav replied to the discussion How do I perform Salesforce integration with Google Maps? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-do-i-integrate-salesforce-with-google-maps/#post-16026 Thu, 15 Sep 2016 17:06:35 +0530 Reply to How do I perform Salesforce integration with Google Maps?

Hi Mohit,

Please refer to the link below :-

https://success.salesforce.com/answers?id=90630000000guBkAAI

 

]]>
789e97857213769d5f9ccb0e02d70b06 Abhinav replied to the discussion What must the Controller for a Salesforce VF page utilize to override the Standard Opportunity view button? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-must-the-controller-for-a-vf-page-utilize-to-override-the-standard-opportunity-view-button/#post-16025 Thu, 15 Sep 2016 17:05:28 +0530 Reply to What must the Controller for a Salesforce VF page utilize to override the Standard Opportunity view button?

Hi Pranav,

This will lead to a lot of conditionally rendered tags. You might consider having separate page for "view" and separate for "new/edit" but use same controller extension if you really want.

New: /apex/override?retURL=%2F006%2Fo&save_new=1&sfdc.override=1
View:… Read more

]]>
592f52c800ad2e0959b00aa194168640 Abhinav replied to the discussion While making a field required in page layout doesn't makes that particular custom field required in Salesforce Custom Field Definition Detail? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/while-making-a-field-required-in-page-layout-doesnt-makes-that-particular-custom-field-required-in-custom-field-definition-detail/#post-16024 Thu, 15 Sep 2016 17:01:07 +0530 Reply to While making a field required in page layout doesn't makes that particular custom field required in Salesforce Custom Field Definition Detail?

Hi Pranav,

You can use the validation rule for this.

]]>
f3ee58f4159dedff2d44b3a910ebfbe4 Abhinav replied to the discussion What is the difference between Id(objString) and Id.valueOf(ObjString) in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-the-difference-between-idobjstring-and-id-valueofobjstring/#post-16023 Thu, 15 Sep 2016 16:59:44 +0530 Reply to What is the difference between Id(objString) and Id.valueOf(ObjString) in Salesforce?

Hi Mohit,

The first is casting. The second is calling a static method on the Id class.

One major advantage of the former is that it is more null safe.

Id idVal1 = (Id)null; // works
Id idVal2 = Id.valueOf(null); // blows up

First one is better.

]]>
8d56dae3fb9c4e60d9921023d32c4533 Abhinav replied to the discussion Is it possible in Salesforce to make the remote action Asynchronous. How? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-it-possible-to-make-the-remote-action-asynchronous-how/#post-16022 Thu, 15 Sep 2016 16:57:58 +0530 Reply to Is it possible in Salesforce to make the remote action Asynchronous. How?

Hi Mohit,

You can configure your remoting call using these three parameters "buffer","timeout" and "escape". Usually written at the end of a call.

You have to look for the parameter "buffer".

Whether to group requests executed close to each other in time into a single request. The default is true.

So to make your individual call to… Read more

]]>
1d13c1232d555b909116085f8029443f Abhinav replied to the discussion How to add a youtube video to a Salesforce visualforce page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-add-a-youtube-video-to-a-vf-page/#post-15365 Fri, 19 Aug 2016 14:20:48 +0530 Reply to How to add a youtube video to a Salesforce visualforce page?

Hi Tanu,

Here is the sample code :-

Note :- For youTube use their embed URL instead of buffering URL.

]]>
02f1b3e80a3c00a6179bd0ae7b302ab3 Abhinav replied to the discussion How can we show all the duplicate Account fields by the help of SOQL? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-show-all-the-duplicate-account-fields-by-the-help-of-soql/#post-15335 Wed, 17 Aug 2016 13:50:22 +0530 Reply to How can we show all the duplicate Account fields by the help of SOQL?

Hi Mohit,

By account fields do you mean the account name records or something else?

]]>
0d7a0c58acf17e3df4fdf868c331ad16 Abhinav replied to the discussion How can we convert Javascript button into Salesforce visualforce page button? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-convert-javascript-button-in-to-visualforce-page-button/#post-15334 Wed, 17 Aug 2016 13:49:20 +0530 Reply to How can we convert Javascript button into Salesforce visualforce page button?

Hi Mohit,

There can be multiple ways to achieve this :-

  1. Create a command button. On the click of it go back into the controller and perform the operation.
  2. Create a html button and perform the operation on the page under the script.
]]>
44e80f96d9993e384bd097e2a13380f3 Abhinav replied to the discussion How can we update the case assignment rule on the click of button? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-update-the-case-assignment-rule-on-the-click-of-button/#post-15333 Wed, 17 Aug 2016 13:46:46 +0530 Reply to How can we update the case assignment rule on the click of button?

]]>
adfe0ab651a91e727eabcfe344b725cc Abhinav replied to the discussion How can we unschedule an apex scheduled job programmatically? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-unschedule-an-apex-scheduled-job-programmatically/#post-15332 Wed, 17 Aug 2016 13:44:37 +0530 Reply to How can we unschedule an apex scheduled job programmatically?

Hi Tanu,

System.abortJob(Id) can do this. Simply pass in the Id of the CronTrigger for the job in question.

]]>
1b5a959ffceb3b22efc4229a10bca64f Abhinav replied to the discussion How to add columns to a PageBlockTable dynamically? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-add-columns-to-a-pageblocktable-dynamically/#post-15331 Wed, 17 Aug 2016 13:41:12 +0530 Reply to How to add columns to a PageBlockTable dynamically?

Hi Tanu,

Please refer to the link here. Hope this resolves.

https://developer.salesforce.com/forums?id=906F000000090uhIAA

]]>
3dbd4d73b3bdc9bec1ea0317bdb7427f Abhinav replied to the discussion Which one is better: Visualforce page or custom object? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/which-one-is-better-visual-force-page-or-custom-object/#post-15330 Wed, 17 Aug 2016 13:39:28 +0530 Reply to Which one is better: Visualforce page or custom object?

Hi Bhavesh,

According to me html coding should be the good option because HTML is light weighted.

]]>
8c5793df3e79ab049590963e70c3b8ad Abhinav replied to the discussion How to set default value in a picklist in apex code? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-set-default-value-in-a-picklist-in-apex-code/#post-15329 Wed, 17 Aug 2016 13:35:58 +0530 Reply to How to set default value in a picklist in apex code?

Hi Pranav,

public class sampleCon{
public string strSelCountry {get; set;}
public List<SelectOption> lstCountries {get; set;}

public sampleCon(){
strSelCountry = 'DELHI';
}
public List<SelectOption> getCountries() {
List<SelectOption> options = new List<SelectOption>();
options.add(new…

Read more

]]>
13a684a814ae1f40468fa3e3c884a7f9 Abhinav replied to the discussion Can I assign two approval process on a single object? Is there any issue in firing both the processes? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-i-assign-two-approval-process-on-a-single-object-is-there-any-issue-in-firing-both-the-processes/#post-15328 Wed, 17 Aug 2016 13:33:54 +0530 Reply to Can I assign two approval process on a single object? Is there any issue in firing both the processes?

Hi Pranav,
You can create two Approval processes for same object , but make sure entry criteria of two processes are mutually exclusive (two entry criteria do not overlap ) . when you submit the record for approval salesforce will pick the Approval process it should be submitted to by matching entry criteria against submitted record values.

]]>
365b77fce17289ef5baf1878dfc99cd1 Abhinav replied to the discussion How can I create a PDF from a Salesforce Report? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-i-create-a-pdf-from-a-report/#post-15327 Wed, 17 Aug 2016 13:32:29 +0530 Reply to How can I create a PDF from a Salesforce Report?

Hi Tanu,

It is not possible to add any button the standard report page. You have to create a VF page and use the renderAs="pdf" attribute to achieve this. Instead of coding the entire report in your VF page, you can embed the standard report in your page and add a button to the VF page which will generate the pdf.

I hope this helps.

]]>
42decb1a830af769bce6dad68a930ae0 Abhinav replied to the discussion force:inputField with condition stops working in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/forceinputfield-with-condition-stops-working/#post-15297 Tue, 16 Aug 2016 10:46:27 +0530 Reply to force:inputField with condition stops working

Hi Arun,

Which event you are using?

]]>
00b6262ba6a8f8ec6f034aaec066a77c Abhinav replied to the discussion How to make field value mandatory if checkbox is marked true? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-make-field-value-mandatory-if-checkbox-is-marked-true/#post-15296 Tue, 16 Aug 2016 10:40:12 +0530 Reply to How to make field value mandatory if checkbox is marked true?

Hi Tanu,

You can use the validation rule to validate the rest of the fields on the basis of checkbox.

]]>
05be27d003c7efdd9b5f7c59ec99dc67 Abhinav replied to the discussion How to create a public site of a Visualforce page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-create-a-public-site-of-a-visualforce-page/#post-15294 Tue, 16 Aug 2016 10:38:51 +0530 Reply to How to create a public site of a Visualforce page?

Hi Pranav,

Please go through this document. I hope this will help.

https://developer.salesforce.com/page/An_Introduction_to_Force.com_Sites

]]>
fe9652c2901efb4395f2f891a2b59886 Abhinav replied to the discussion force:inputField with condition stops working in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/forceinputfield-with-condition-stops-working/#post-15292 Tue, 16 Aug 2016 10:37:16 +0530 Reply to force:inputField with condition stops working

Hi Arun,

Which condition you are using with the inputfield?

]]>
7d0398923b3368674bc4b7976b17e448 Abhinav replied to the discussion force:inputField with condition stops working in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/forceinputfield-with-condition-stops-working/#post-15292 Tue, 16 Aug 2016 10:37:16 +0530 Reply to force:inputField with condition stops working

Hi Aurn,

Which condition you are using with the inputfield?

]]>
b42112da745bb02c7db5ea1f454409ce Abhinav replied to the discussion How can we create a group of standard user in apex without user having customize application permission? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-create-a-group-of-standard-user-in-apex-without-user-having-customize-application-permission/#post-15291 Tue, 16 Aug 2016 10:32:45 +0530 Reply to How can we create a group of standard user in apex without user having customize application permission?

Hi Mohit,

It might not possible to create Group using standard user.

Group objGroup = new Group(Name = 'TestGroup1', Type='Regular');
insert objGroup;

The above code works for System Administrator profile, but it does not work for Standard User.

]]>
c35c49ab297c7499ba93a3f55a5dea6d Abhinav replied to the discussion How can we show the standard and custom error messages at same time? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-show-the-standard-and-custom-error-messages-at-same-time/#post-15290 Tue, 16 Aug 2016 10:29:20 +0530 Reply to How can we show the standard and custom error messages at same time?

No, I dont think so. Because custom error message are calculated at  different phase of the page lifecycle. Before that the standard message are validated and displayed.

]]>
8fd573a81cbd87512f51760bba104a6e Abhinav replied to the discussion How to ignore duplicate management rules and save update address? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/error-on-duplicate-management-rules/#post-15288 Tue, 16 Aug 2016 10:26:57 +0530 Reply to How to ignore duplicate management rules and save update address?

Hi Bhavesh,

There must be Matching Rules on Account which are active in your org. This rules validate the address. There must be accounts exist in your org with the same address with which you are trying to create the new account.

These are the standard salesforce rules which are by default active. When you will deactivate these it will… Read more

]]>
5d4e067079e60f7612bdee2a68bcacd9 Abhinav replied to the discussion How to ignore duplicate management rules and save update address? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/error-on-duplicate-management-rules/#post-15288 Tue, 16 Aug 2016 10:26:57 +0530 Reply to How to ignore duplicate management rules and save update address?

Hi Bhavesh,

There must be Matching Rules on Account which are active in your org. This rules validate the address. There must be accounts exist in your org with the same address with which you are trying to create the new account.

These are the standard salesforce rules which are by defualt active. When you will deactivate these it will… Read more

]]>
70fc88a0b32d28fbc6570b9d399df487 Abhinav replied to the discussion How can we dynamically create a chart using javascript? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-dynamically-create-a-chart-using-javascript/#post-15196 Thu, 11 Aug 2016 16:39:03 +0530 Reply to How can we dynamically create a chart using javascript?

Hi Mohit,

Below is the sample code :-

<apex:page>
<script>
function getRemoteData(callback) {
PieChartController.getRemotePieData(function(result, event) {
if(event.status && result && result.constructor === Array) {
callback(result);
}
});
}
</script>

<apex:chart data="getRemoteData" ...></apex:chart>
</apex:page>

@RemoteAction
public… Read more

]]>
83fb865e17c03d1031ebf3a1fccfbc60 Abhinav replied to the discussion How can we export selected record by checkbox in a table view? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-export-selected-record-by-checkbox-in-a-table-view/#post-15195 Thu, 11 Aug 2016 16:37:08 +0530 Reply to How can we export selected record by checkbox in a table view?

Hi Mohit,

Here is the sample code :-

<apex:page controller="ExportToExcelMultipleSheets" contentType="txt/xml#myTest.xls" cache="true">
<apex:outputText…

Read more

]]>
4ed8321ba354b32ad277a92b1d6413fe Abhinav replied to the discussion How we can disable the lookup input field on the Salesforce visualforce page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-we-can-disable-the-lookup-input-field-on-the-visualforce-page/#post-15194 Thu, 11 Aug 2016 16:16:32 +0530 Reply to How we can disable the lookup input field on the Salesforce visualforce page?

Hi Mohit,
Apex:inputField does not have the attribute "disabled". You may have to do this through rendering or jQuery.

Below is the sample code for rendering :-
Sample Code:

Visualforce page:

<apex:page controller="sample">

<script type="text/javascript">

</script>

<apex:form >

<apex:pageMessages />

<apex:pageBlock…

Read more

]]>
05bb2b1210fcddd8905e703c6141f335 Abhinav replied to the discussion How to get code coverage programmatically through Apex? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/i-want-to-get-code-coverage-programatically-through-apexhow-to-achieve-it/#post-15193 Thu, 11 Aug 2016 16:11:28 +0530 Reply to How to get code coverage programmatically through Apex?

Hi Tanu,

For synchronous testing: The RunTestsResult returned by calling ApexService.runTests() contains a codeCoverage property, which is a CodeCoverageResult array.

The CodeCoverageResult locationsNotCovered property gives you the line number and column of code that wasn't tested in the run.

My experience with this is that it will return… Read more

]]>
87137c5c2bcfc6303b153aff3a194edf Abhinav replied to the discussion Why we can't perform DML operations in Constructor? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/why-we-cant-perform-dml-in-constructor/#post-15192 Thu, 11 Aug 2016 16:09:05 +0530 Reply to Why we can't perform DML operations in Constructor?

Hi Tanu,

Using insert/update/delete in constructor is a bad practice in any language.

Establishing connection to DB - OK.
Constructor is used to create an object and initialize it's parameters; nothing more.
1. Using DML in constructor will slow down initialization of your object.

2. It may fail and object just doesn't create at all.

]]>
7c1a27184ecd8aea61952c3804844b67 Abhinav replied to the discussion How to convert a Set to Set in Apex Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-convert-a-set-to-set-in-apex-salesforce/#post-15191 Thu, 11 Aug 2016 16:05:24 +0530 Reply to How to convert a Set to Set in Apex Salesforce?

Hi Tanu,

Yes, here is the sample code :-

Set<Id> ids = new Set<Id>{'001C000001DgWqW','001C000001DgWsE'};
Set<String> idStrs = (Set<String>)JSON.deserialize(JSON.serialize(ids), Set<String>.class);

System.debug('idStrings=' + idStrs);

]]>
53c786156a9c62669609a2fdf12f7f9a Abhinav replied to the discussion How can I access javascript function in lightning component? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-i-access-javascript-function-in-lightning-component/#post-15190 Thu, 11 Aug 2016 15:59:31 +0530 Reply to How can I access javascript function in lightning component?

]]>
ea27cee21490fbb4ad6525e95768507a Abhinav replied to the discussion How can I show/create simple Bar Graph on a Salesforce Visualforce Page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-i-showcreate-simple-bar-graph-on-a-visualforce-page/#post-15189 Thu, 11 Aug 2016 15:58:09 +0530 Reply to How can I show/create simple Bar Graph on a Salesforce Visualforce Page?

Hi Pranav,

Please refer to the code below :-

<apex:page controller="AccountRec_Barchart" docType="html-5.0" title="Bar chart" >
<apex:form >

<apex:outputText value="from Date">
</apex:outputText>
<apex:input type="date" value="{!fromdate}"/>
<apex:outputText value="ToDate"></apex:outputText>
<apex:input type="date"…

Read more

]]>
267175ac0cb539c7f780d4085c69ff3c Abhinav replied to the discussion Why there is some debug is missing while checking in debug log? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/why-there-is-some-debug-is-missing-while-checking-in-debug-log/#post-15188 Thu, 11 Aug 2016 15:54:43 +0530 Reply to Why there is some debug is missing while checking in debug log?

Hi Pranav,
Your log will need to be significantly smaller as the skipped section is over 7MB.

One way to reduced the log size is to adjust the logging levels. See Setting Debug Log Filters.

You could keep the Apex Code Log Level set to DEBUG and then reduce the other categories to be off.

]]>
1319776f5c22c1353eb26cbc4189fa76 Abhinav replied to the discussion Sobjet detail page in lightining in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/sobjet-detail-page-in-lightining/#post-15187 Thu, 11 Aug 2016 15:34:35 +0530 Reply to Sobjet detail page in lightining

Hi Ajit,

Here is the link which will help you to build the lightning component. Please refer to this link  :-

https://trailhead.salesforce.com/en/projects/slds-lightning-components-workshop

I hope this helps.

]]>
4369e0247eee59631274acd253b6debe Abhinav replied to the discussion Sobjet detail page in lightining in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/sobjet-detail-page-in-lightining/#post-15187 Thu, 11 Aug 2016 15:34:35 +0530 Reply to Sobjet detail page in lightining

Hi Ajit,

Here is the link which will help you to build the lightning component. Please refer to this link  :-

https://developer.salesforce.com/trailhead/project/slds-lightning-components-workshop/slds-lc-6

I hope this helps.

]]>
bf59b8b7fa6d80f25dac1c5aec5e5d97 Abhinav replied to the discussion Restricting characters and removing space at the end of a field? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/restricting-characters-and-removing-space-at-the-end-of-a-field/#post-15056 Tue, 09 Aug 2016 08:41:25 +0530 Reply to Restricting characters and removing space at the end of a field?

Hi Tanu,

You can use this formula example to validate against usage of those special characters and checking if there are spaces at the end.

OR(
CONTAINS( Text_Field__c , "'"),
CONTAINS( Text_Field__c , '"'),
CONTAINS( Text_Field__c , ","),
CONTAINS( Text_Field__c , "*"),
CONTAINS( Text_Field__c , "%"),
CONTAINS( Text_Field__c…

Read more

]]>
f860dd28157d98e255fcc01e630d667e Abhinav replied to the discussion How to use captcha image in visualforce page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-use-captcha-image-in-visualforce-page/#post-15055 Tue, 09 Aug 2016 08:38:41 +0530 Reply to How to use captcha image in visualforce page?

Hi Pranav,

Please refer to the link below. I hope this will help.

https://developer.salesforce.com/page/Adding_CAPTCHA_to_Force.com_Sites

]]>
e32e9667da7dc44e92f9c37f98f7b491 Abhinav replied to the discussion How can we find the unused method in apex class? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-find-the-unused-method-in-apex-class/#post-15044 Mon, 08 Aug 2016 15:36:55 +0530 Reply to How can we find the unused method in apex class?

Hi Mohit,

The Tooling API can be used to retrieve the SymbolTable for each apex class. This Symbol Table will tell you the methods that are defined in the apex class, and the references to methods that are consumed in the externalReferences.

By scanning the methods and corresponding references in each apex classes symbol table you can… Read more

]]>
28fd48d57abfec856512d83960c68987 Abhinav replied to the discussion How to add error message in a Salesforce Apex Trigger? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-add-error-message-in-apex-trigger/#post-15039 Mon, 08 Aug 2016 13:55:27 +0530 Reply to How to add error message in a Salesforce Apex Trigger?

Hi Pranav,

Test__c trigObj = trigger.newMap.get(Test.id);
if(trigObj != null){
trigObj.addError('Cloned record should not have the same period as that of Parent record');
}

]]>