Abhinav Bhatia
IndividualForum Replies Created
-
Abhinav
MemberOctober 28, 2016 at 11:44 am in 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 synced through batch class at very small interval of time. In this case we increased the batch interval time. And also used the webhook to get data inside salesforce as the 3rd party was having the webhook.
- This reply was modified 8 years, 1 month ago by Abhinav.
-
Abhinav
MemberOctober 28, 2016 at 11:24 am in 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.
-
Abhinav
MemberSeptember 19, 2016 at 10:40 am in 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 name="var1" value="Value1"/>
</flow:interview>
</apex:page> -
Abhinav
MemberSeptember 15, 2016 at 5:08 pm in 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.
- This reply was modified 8 years, 3 months ago by Abhinav.
-
Abhinav
MemberSeptember 15, 2016 at 5:06 pm in 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
-
Abhinav
MemberSeptember 15, 2016 at 5:05 pm in 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: /apex/override?id=0067000000AH3ME&sfdc.override=1
Edit: /apex/override?id=0067000000AH3ME&retURL=%2F006%3Ffcf%3D00B70000005pFQv%26rolodexIndex%3D-1%26page%3D1&sfdc.override=1 -
Abhinav
MemberSeptember 15, 2016 at 5:01 pm in 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.
-
Abhinav
MemberSeptember 15, 2016 at 4:59 pm in 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 upFirst one is better.
-
Abhinav
MemberSeptember 15, 2016 at 4:57 pm in 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 the controller you have to set this parameter as "false"
Example :-
Visualforce.remoting.Manager.invokeAction(
'{!$RemoteAction.MyController.getAccount}',
accountName,
function(result, event){},
{ buffer: false, escape: true, timeout: 30000 }
); -
Abhinav
MemberAugust 19, 2016 at 2:20 pm in 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.
-
Abhinav
MemberAugust 17, 2016 at 1:50 pm in 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?
-
Abhinav
MemberAugust 17, 2016 at 1:49 pm in reply to: How can we convert Javascript button into Salesforce visualforce page button?Hi Mohit,
There can be multiple ways to achieve this :-
- Create a command button. On the click of it go back into the controller and perform the operation.
- Create a html button and perform the operation on the page under the script.
-
Abhinav
MemberAugust 17, 2016 at 1:46 pm in reply to: How can we update the case assignment rule on the click of button?Hi Mohit,
I think the below link will help.
-
Abhinav
MemberAugust 17, 2016 at 1:44 pm in 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.
-
Abhinav
MemberAugust 17, 2016 at 1:41 pm in 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
-
Abhinav
MemberAugust 17, 2016 at 1:39 pm in 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.
-
Abhinav
MemberAugust 17, 2016 at 1:35 pm in 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 SelectOption('DELHI','DELHI'));
options.add(new SelectOption('NOIDA','NOIDA'));
return options;
}
} -
Abhinav
MemberAugust 17, 2016 at 1:33 pm in 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. -
Abhinav
MemberAugust 17, 2016 at 1:32 pm in 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.
-
Abhinav
MemberAugust 16, 2016 at 10:46 am in reply to: force:inputField with condition stops workingHi Arun,
Which event you are using?
-
Abhinav
MemberAugust 16, 2016 at 10:40 am in 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.
-
Abhinav
MemberAugust 16, 2016 at 10:38 am in 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
-
Abhinav
MemberAugust 16, 2016 at 10:37 am in reply to: force:inputField with condition stops workingHi Arun,
Which condition you are using with the inputfield?
- This reply was modified 8 years, 4 months ago by Abhinav.
-
Abhinav
MemberAugust 16, 2016 at 10:32 am in 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.
-
Abhinav
MemberAugust 16, 2016 at 10:29 am in 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.