Forum Replies Created

Viewing 26 - 50 of 62 posts
  • Naman

    Member
    April 25, 2016 at 7:44 am

    When you convert a lead, you can have a trigger to grab the attachment and associate it on account and opportunity.

  • Naman

    Member
    April 25, 2016 at 7:25 am

    Can you run all test in prod and then try again. If that does not work, you can try run specific tests while deploying.

  • Naman

    Member
    April 25, 2016 at 7:10 am

    You need to purchase license for Site.com studios first.

  • Naman

    Member
    April 25, 2016 at 7:08 am

    Page :

    <apex:inputFile value="{!attachBody}" filename="{!attach.name}"></apex:inputFile>

    <apex:button value="Save" action="{!saveProfitandLossStatement}" />

    class:

    public Attachment attach{get;set;}
    public transient blob attachBody{get;set;}

    public PageReference saveProfitandLossStatement(){ //to add more payers..
    PageReference pg=null;
    attach.parentId = appRecord.id;
    attach.body = attachBody;
    insert attach;

    pg = new PageReference(URL.getSalesforceBaseUrl().toExternalForm()+'/apex/ViewApplicationsRecord?guid='+appRecord.id);
    pg.setRedirect(true);
    return pg;
    }

    appRecord.id is the id get from URL.

  • Naman

    Member
    April 21, 2016 at 12:21 pm

    My vote is with the idea.

  • Naman

    Member
    April 21, 2016 at 8:21 am

    Only User having “Download AppExchange packages” permission can download the Apps.

  • Naman

    Member
    April 21, 2016 at 8:18 am

    Try this link :  https://nextgensalesforce.wordpress.com/2015/09/28/creating-your-very-own-salesforce-wave-application/

  • Naman

    Member
    April 21, 2016 at 8:14 am

    What error you are getting in second for loop?

    As multiple contacts could be associated with single account so, to traverse the contact you would need second for loop inside first. Debug contact values in second for loop. you can do like:

    for(Account aa:accs){
    System.debug(aa.id);
    System.debug(aa.name);
    System.debug(aa.phone);

    for(Contact con:accs.contacts){

    System.debug(con.email);

    }
    }

  • Naman

    Member
    April 18, 2016 at 2:01 pm

    Try using batch class to execute the logic. Splitting the string by '\n' also produce this issue so, need to avoid that.

  • Naman

    Member
    April 18, 2016 at 12:56 pm

    You can make multiple sections on vf page and render them based on fulfilled condition.

  • Naman

    Member
    April 18, 2016 at 12:22 pm

    It depend on your data limit which pagination you have to implement.

    1. If your data limit is under 2000, Offset based pagination can be helpful.
    2. If more than 2000, you can create your own custom offset functionality in apex and use that on next button click.
  • Naman

    Member
    April 18, 2016 at 12:17 pm

    OR you can use informatica to replicate the data and its schema to the similar relational database.

  • Naman

    Member
    April 18, 2016 at 12:16 pm

    Hi Mark,

    You can try free app from AppExchange if that fulfill your needs. Here is the link: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003KNErEAO

  • Naman

    Member
    April 18, 2016 at 12:12 pm

    Try this:

    string companyName = Label.Company;

    companyName = companyName.toLowerCase();

  • Naman

    Member
    April 18, 2016 at 12:11 pm

    You have to use standard controller on your vf page.

  • Naman

    Member
    April 18, 2016 at 12:10 pm

    Make sure that both of the objects having no records before creating master detail.

  • Naman

    Member
    April 18, 2016 at 11:29 am

    Yes, thats correct but look at the code you are comparing

    if(objWrap.label == c ){
    objWrap.selected = true;
    }

    objWrap.label is not yet bind to the string type so you have to ignore case separately.

  • Naman

    Member
    April 14, 2016 at 9:30 am

    You need to do it in two sections.

    1. Dedupe existing data - you can use demand tools to dedupe existing data in salesforce.
    2. Set up dedupe app to restrict any new duplicate data.
  • Naman

    Member
    April 14, 2016 at 9:08 am

    apart from that without using any checkbox and custom settings. ?

  • Naman

    Member
    April 14, 2016 at 8:53 am

    Yeah, i know that will fire on insert and update call. But i want to skip it, is any way to do it??

  • Naman

    Member
    April 14, 2016 at 8:48 am

    External objects can have use of external look up relationships. Go through the below link to set up external object in your org.

    http://www.forcetalks.com/topic/how-to-import-data-of-a-object-from-one-org-to-another-without-using-data-loader-and-integration

  • Naman

    Member
    April 14, 2016 at 8:34 am

    You must had some Camel case in your string so equalIgnoreCase worked.

  • Naman

    Member
    April 14, 2016 at 8:30 am

    In discussion while recent releases of salesforce, they are connecting with some nice health groups and trying to incorporate that within Salesforce.

  • Naman

    Member
    April 14, 2016 at 8:27 am

    You can use external object to achieve your requirement. For have that set up, you need to set up the external data source in from one salesforce org to another salesforce org. Provide identity type as "Named Principal" and Authentication Protocol as "Password". Give your username and password to set up external data source. After that set up external object and provide External Data Source - <select your data source that you have created>. All records of your external salesforce org would be available in second SF org under external object. This is just like the custom object in salesforce to use it. Enjoy 🙂

  • Naman

    Member
    April 14, 2016 at 8:19 am

    Best practice to have the same API version for all your apex classes between 20.0 to 34.0.

Viewing 26 - 50 of 62 posts