Forum Replies Created

Viewing 1 - 25 of 62 posts
  • Naman

    Member
    August 11, 2016 at 7:42 am

    Hi Ajit,

    In update record option in flow, you need to select your custom setting and then select the field you need to update and finally give the updated value using Formula.

  • Naman

    Member
    June 30, 2016 at 12:39 pm

    Hi Nick,

    Here we can use "CASE" Formula function in the formula fields.

    CASE(CASE(abc_c, "A","A","B","B","") + CASE(def_c, "West", "West", "MidWest", "MidWest","") + CASE(ghi_c, "Elite","Elite","Preferred","Preferred","") , "AWestElite", 90000, "BMidWestPreferred", 50000,0)

  • Naman

    Member
    June 22, 2016 at 11:11 am

    Hi Bruce,

    We could use the Salesforce Content to store the image and can generate the public url of the same. But you need to make sure that the image is not added to the Libraries yet because after that you cannot generate the public url of your image. Create formula field using IMAGE tag and give src to your image url.

    You have to make some changes in your Public url. For instance my public url for image is - https://cs44.salesforce.com/sfc/p/#7A000000Cq0q/a/7A0000004Ex1/k6Xrx12VdrGDttoF1GfB60Yn8uen5zJ_3.9NETWbjIA

    To use the above url in formula field, you need to manipulate it like below:

    String endUrl = contentVersionIDUrlMap.get(contentVer.ContentDocumentId).split('/a/',2)[1];
    String host = URL.getSalesforceBaseUrl().toExternalForm();
    String downUrl = host+'/sfc/dist/version/download ids='+contentVersion.id+'&oid='+orgId+'&d=/a/'+endUrl;

    And after that your url would be looking like below:

    https://cs44.salesforce.com/sfc/dist/version/download?ids=0687A00000055ioQAA&oid=00D7A000000Cq0qUAC&d=/a/7A0000004Ex1/k6Xrx12VdrGDttoF1GfB60Yn8uen5zJ_3.9NETWbjIA

    Now you can use this url into your formula field on product and this will result you the desired image.

    Let me know if you need more info on this.

  • Naman

    Member
    April 30, 2016 at 4:31 pm

    You can set the database.savepoint and get rollback if any error occurs.

  • Naman

    Member
    April 30, 2016 at 4:29 pm

    You need check isAccessibe permission.

  • Naman

    Member
    April 30, 2016 at 4:23 pm

    Go through https://skyvia.com/data-integration/integrate-salesforce-mysql

  • Naman

    Member
    April 30, 2016 at 4:10 pm

    You can use LIMIT class to check the governor limits.

  • Naman

    Member
    April 30, 2016 at 4:03 pm

    Because the fact is the Formula field does not fire the trigger but the roll up summary fires.

  • Naman

    Member
    April 30, 2016 at 4:00 pm

    You can use stateful in your batch class and for failed record you can send email in finish method.

  • Naman

    Member
    April 30, 2016 at 3:57 pm

    You need to figure out user current time first by querying user and then use date time class to convert the time according to current user. You need to pass the user current timezone as parameter.

  • Naman

    Member
    April 29, 2016 at 8:00 am

    If you require to implement many to many relationship in salesforce, you need to go with Junction object.

  • Naman

    Member
    April 29, 2016 at 7:58 am

    Go through http://salesforce.stackexchange.com/questions/20763/creating-a-custom-object-using-rest-api

  • Naman

    Member
    April 29, 2016 at 7:55 am

    You can use Metadata API via REST to get states. In my knowledge, we cant directly query it in apex.

    https://success.salesforce.com/ideaView?id=08730000000keCTAAY

  • Naman

    Member
    April 29, 2016 at 7:51 am

    Changing field type could cause the data loss. So we need to take backup of data first before doing so.

  • Naman

    Member
    April 29, 2016 at 7:50 am

    You need to include the static resource in your vf page in which the image is stored.

  • Naman

    Member
    April 29, 2016 at 7:01 am

    You can try with LoginHistory object.

  • Naman

    Member
    April 29, 2016 at 6:58 am

    Yes we can integrate Slack with Salesforce. For bi-directional integration you need to set it up in two steps:

    1. SF to Slack : You can implement Slack APIs to send information from SF to Slack.
    2. Slack to SF : You need to set the webhook in Slack that will send data back to SF whenever any event occurs there. Here is the link to the doc - https://api.slack.com/web
  • Naman

    Member
    April 27, 2016 at 9:25 am

    If you are sure that your customer will not use it in lightning, javascript pop up can also be used. Or we can use self look up to the same visualforce page based on certain conditions.

  • Naman

    Member
    April 27, 2016 at 9:22 am

    We can make table of records through custom development and send that as email content.

  • Naman

    Member
    April 27, 2016 at 9:17 am

    It can't be disabled once activated.

  • Naman

    Member
    April 27, 2016 at 8:22 am

    You can go either way but it more depends on your org. We should always try to accomplish the need first through using point and clicks and if the requirement is reach out then we may way to custom dev. If formula fields are already reaching to their limits than we can go for trigger.

  • Naman

    Member
    April 27, 2016 at 7:56 am

    You can call apex method from process builder in which you can write code to schedule batch apex. To call a method in process builder you need to add annotation @InvocableMethod while defining method.

  • Naman

    Member
    April 27, 2016 at 7:51 am

    Hard to say which is best. You need to find out your requirements and choose accordingly. Multiple apps are available on AppExchange.

  • Naman

    Member
    April 27, 2016 at 7:46 am

    Check one of your process builder is failing. Deactivate process builder and try again.

  • Naman

    Member
    April 25, 2016 at 1:03 pm

    Yes but you need to authenticate to that 3rd party server whenever you want to perform action on that attachment like download or delete. In salesforce, a link can be shown like "download file", and when user clicks on the link, need to authenticate with that server and download file from the right path.

Viewing 1 - 25 of 62 posts