Forum Replies Created

Viewing 1 - 25 of 206 posts
  • Abhinav

    Member
    October 28, 2016 at 11:44 am

    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 5 years, 1 month ago by  Abhinav.
  • Abhinav

    Member
    October 28, 2016 at 11:24 am

    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.

    • This reply was modified 5 years, 1 month ago by  Abhinav.
    • This reply was modified 5 years, 1 month ago by  Abhinav.
  • Abhinav

    Member
    September 19, 2016 at 10:40 am

    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

    Member
    September 15, 2016 at 5:08 pm

    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 5 years, 2 months ago by  Abhinav.
  • Abhinav

    Member
    September 15, 2016 at 5:06 pm

    Hi Mohit,

    Please refer to the link below :-

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

     

  • Abhinav

    Member
    September 15, 2016 at 5:05 pm

    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

    Member
    September 15, 2016 at 5:01 pm

    Hi Pranav,

    You can use the validation rule for this.

  • Abhinav

    Member
    September 15, 2016 at 4:59 pm

    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.

  • Abhinav

    Member
    September 15, 2016 at 4:57 pm

    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

    Member
    August 19, 2016 at 2:20 pm

    Hi Tanu,

    Here is the sample code :-

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

  • Abhinav

    Member
    August 17, 2016 at 1:50 pm

    Hi Mohit,

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

  • Abhinav

    Member
    August 17, 2016 at 1:49 pm

    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.
  • Abhinav

    Member
    August 17, 2016 at 1:46 pm
  • Abhinav

    Member
    August 17, 2016 at 1:44 pm

    Hi Tanu,

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

  • Abhinav

    Member
    August 17, 2016 at 1:41 pm

    Hi Tanu,

    Please refer to the link here. Hope this resolves.

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

  • Abhinav

    Member
    August 17, 2016 at 1:39 pm

    Hi Bhavesh,

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

  • Abhinav

    Member
    August 17, 2016 at 1:35 pm

    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

    Member
    August 17, 2016 at 1:33 pm

    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

    Member
    August 17, 2016 at 1:32 pm

    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

    Member
    August 16, 2016 at 10:46 am

    Hi Arun,

    Which event you are using?

  • Abhinav

    Member
    August 16, 2016 at 10:40 am

    Hi Tanu,

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

  • Abhinav

    Member
    August 16, 2016 at 10:38 am

    Hi Pranav,

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

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

  • Abhinav

    Member
    August 16, 2016 at 10:37 am

    Hi Arun,

    Which condition you are using with the inputfield?

    • This reply was modified 5 years, 3 months ago by  Abhinav.
  • Abhinav

    Member
    August 16, 2016 at 10:32 am

    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

    Member
    August 16, 2016 at 10:29 am

    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.

Viewing 1 - 25 of 206 posts