Forum Replies Created

Page 6 of 12
  • Hi Ajay,

    Yes, Visualforce mapping components aren’t available in Developer Edition organizations.

    You can try a Add Geocodes for Addresses Automatically in Salesforce blog.

    Or you have to make a custom integration for this.

  • Hi Ajay,

    I can suggest you that you may use Lazy Loader for this functionality, that might help you.

     

  • Hi Ajit,

    You can use the below code for this.

    $('#calendar').fullCalendar({
    eventClick: function(calEvent, jsEvent, view) {
    window.location = "http://www.domain.com?start=" + calEvent.start;

    }
    });

    Hope this helps you.

  • PRANAV

    Member
    January 31, 2018 at 9:46 am in reply to: How can I develop a custom login page in Salesforce Communities?

    Hi Ajit,

    Configure the default login, logout, password management, and self-registration options for your community. Or customize the behavior with Apex and Visualforce or Community Builder (Site.com Studio) pages. You can also use dynamic URLs to brand your pages at run time.

    For more you can refer to the standard Salesforce guide about the topic "Customize Login, Self-Registration, and Password Management for Your Community". Hope this helps you.

  • Hi,

    'AsyncApexExecutions Limit Exception' means you are hitting an org wide 24 hour rolling limit on asynchronous Apex.

    Adding the result of these two queries should help you see where you are at:

    Integer nonBatchAsyncApexJobs = [SELECT count() FROM AsyncApexJob WHERE JobType != 'BatchApexWorker' AND JobType != 'BatchApex' AND CreatedDate >= :DateTime.now().addDays(-1)];

    AggregateResult[] ar = [SELECT SUM(JobItemsProcessed) FROM AsyncApexJob WHERE JobType = 'BatchApex' AND CreatedDate >= :DateTime.now().addDays(-1)];

    Integer batchJobItemsProcessed = Integer.valueOf(ar[0].get('expr0'));

    Integer total = nonBatchAsyncApexJobs + batchJobItemsProcessed;

    Hope this helps you.

     

    System.debug('total: ' + total);

  • Hi,

    You can use the below code snippet for this

    public Pagereference gotonewpage()
    {
    PageReference pageRef = Page.existingPageName;
    pageRef.getParameters().put('msg','success');
    return PageRef
    }

    This will make your URL looks like this //na5.salesforce.com/apex/SamplePage2?msg=success

    Retrieve Parameter Values in Apex Class:

    public class Sampleclass
    {
    Public String message = System.currentPagereference().getParameters().get('msg');
    }

    Hope this helps you.

     

  • PRANAV

    Member
    January 31, 2018 at 9:34 am in reply to: How can I view Partner object in Salesforce Lightning?

    Hi Rachit,

    Features Not Available in Lightning Experience
    - Account Hierarchy
    - Account History
    - Account Merge
    - Account Partners
    - Account Territories
    - Contact Roles on Accounts

    OR

    You can use "Partners Related List for Lightning Experience" from AppExchange. This may helps you.

  • PRANAV

    Member
    January 31, 2018 at 9:31 am in reply to: How can I use email service for files with size more than 5 MB?

    Hi Rachit,

    There are a number of limits on what data and data sizes can be used for Email Services.

    • Attachments that are labeled as "text" are presented as an Apex String and can be a maximum of 100KB each. A "text" attachment is any attachment whose Mime type is "text/*". For example "text/plain", "text/html", etc.
    • Attachments that are not labeled as "text" are presented as an Apex Blob and can be up to 5MB per attachment.
    • When all the elements, text body, HTML body, text attachments and binary attachments are added together the total size of the email message has to be below 10MB

    Hope this helps you.

  • PRANAV

    Member
    January 31, 2018 at 9:27 am in reply to: Can auto response rule be created for email services in Salesforce?

    Hi,

    Create auto-response rules for leads captured through a Web-to-Lead form and for cases submitted through a:

    • Self-Service portal
    • Customer Portal
    • Web-to-Case form
    • Email-to-Case message
    • On-Demand Email-to-Case message

    For more info You can refer to the standard salesforce guide.

  • Hi Himanshu,

    You can put your additional code in the "Okay" and "Cancel" button functions. For example:

    "Okay": function() {
    $(this).dialog("close");
    alert(is_okay);
    },

    Hope this helps you.

  • Hi Himanshu,

    Salesforce allows updating of the parent fields through a workflow on child object. But the reverse is not possible.

    Workaround: This can be done through only a trigger.

    You have to built/customize your functionality through Apex.

    Thanks

  • PRANAV

    Member
    January 31, 2018 at 9:14 am in reply to: What are Chatter settings in Salesforce?

    Hi Himanshu,

    Chatter is enabled by default in Salesforce and the Salesforce app. Configure various Chatter features and customize the Chatter experience for your users on the Chatter Settings page in Setup.

    • To access the Chatter Settings page, enter Chatter in the Quick Find box and select Chatter Settings.
    • To disable Chatter for your entire organization, deselect Enable in the Chatter Settings section.

    There are different setting for Chatter like:

    • Chatter Group Settings
    • Enable Emoticons in the Feed
    • Let Users Set Out of Office Messages in Chatter
    • Customer Invitations
    • Coworker Invitations
    • Enable Actions in the Publisher
    • Feed Post and Comments Editing Overview

    Hope this helps you.

  • PRANAV

    Member
    January 31, 2018 at 9:10 am in reply to: How to implement the Desk.com in salesforce?

    Hi,

    Please note that you must have full administrative access to your Salesforce org to integrate Desk.com with your Salesforce org.

    After that you have to refer their integration documents. And as per your requirement you can integrate your Org with Desk.com.

    Thanks

  • PRANAV

    Member
    January 31, 2018 at 9:05 am in reply to: Process Builder failed to trigger a flow

    Hi,

    User's with a Process that has criteria referencing a foreign key field (cross object references) are running into an issue when saving a record that does NOT meet the criteria. They will get an error and will be unable to save.

    Error:
    The record couldn’t be saved because it failed to trigger a flow.
    A flow trigger failed to execute the flow with version ID 30100000000XXXX.
    Contact your administrator for help.

    So the current workaround is to create a text formula field that pulls in the value of the foreign key field you are trying to reference in the Process criteria. You can use that formula in the criteria of the Process.

    Hope this helps you.

  • PRANAV

    Member
    January 31, 2018 at 9:03 am in reply to: How case assignment rules are set up?

    Hi,

    Case Assignment Rules—Determine how cases are assigned to users or put into queues as they are created manually, using Web-to-Case, Email-to-Case, On-Demand Email-to-Case, the Self-Service portal, the Customer Portal, Outlook, or Lotus Notes.

    To create an assignment rule, from Setup, enter Assignment Rules in the Quick Find box, then select Lead Assignment Rules or Case Assignment Rules.

    Now you can create your own assignment rule with its name and criteria.

    Hope this helps you.

  • Hi,

    You can refer to

    • Implementing the Service Cloud
    • Implementing CRM Essentials
    • Administering Salesforce Knowledge
    • Publishing Articles With Knowledge

    Find these topics and get the knowledge about it and you will surely able to pass service cloud certification.

     

  • Hi,

    Ok, I found it after doing some serious reading of the Winter '16 release.

    You need to implement the interface:

    force:hasRecordId

    in your component and then you can access the record id via the following expression

    {!v.recordId}

    Hope this helps you.

  • PRANAV

    Member
    January 31, 2018 at 8:49 am in reply to: What are Extension Controller's?

    Hi,

    A custom controller is an Apex class that implements all of the logic for a page without leveraging a standard controller. Use custom controllers when you want your Visualforce page to run entirely in system mode, which does not enforce the permissions and field-level security of the current user.

    A controller extension is an Apex class that extends the functionality of a standard or custom controller. They are used when you

    • to leverage the built-in functionality of a standard controller but override one or more actions, such as edit, view, save, or delete.
    • to add new actions.
    • to build a Visualforce page that respects user permissions.

    For more you can refer to the standard apex guide.

    Hope this helps you.

  • Hi Ajay,

    Yes you can use static variables for this as they are meant for same purpose .

    Create a static list in your helper class and use same in your before trigger and after trigger

    public class cachequery {
        public static List<Account> lstaccount= [Select Id,Name from Account LIMIT 10];
    }

    The sample trigger to provide an idea

    trigger T1 on Account (before insert, after insert) {
        list<Account> lstcached = cachequery.lstaccount;
        if(Trigger.isBefore && Trigger.isInsert){
            system.debug(lstcached );
        }
        if(Trigger.isAfter && Trigger.isInsert){
            system.debug(lstcached );
        }
    }

    Hope this helps you.

  • PRANAV

    Member
    January 25, 2018 at 3:46 pm in reply to: Not able to use custom setting in a Salesforce formula field

    Hi Ajit,

    You can only access hierarchy custom settings in formula field and validation rules.

    Here is the generic syntax: {!$Setup.CustomSettingName__c.CustomFieldName__c}

    But it will not available for Access List Custom Settings in Formula Fields.

    Hope this helps you.

  • PRANAV

    Member
    January 25, 2018 at 3:11 pm in reply to: How can I create Email Template from a Salesforce Visualforce page?

    Hi Ajay,

    • Enter Templates in the Quick Find box, then select Email Templates or My Templates—whichever one appears.
    • Click New Template.
    • Choose Visualforce and click Next.
    • Choose a folder in which to store the template.
    • To make the template available for use, select the Available For Use checkbox.
    • Enter a name in Email Template Name.
    • Enter a subject line for your template in Email Subject.
    • In the Recipient Type drop-down list, select the type of recipient to receive email created from the template.
    • Click Save.
    • On the View Email Templates in Salesforce Classic page, click Edit Template.

    Now you can build your own custom VF template through your coding and as per your requirements.

    Hope this helps you.

  • Hi Ajay,

    Yes, there's a lot differences occurs while creating reports with different user. As if a User of with System Admin profile builds a report then he/she can access all the fields of sobject. And if a user with some different profile he/she can use only that fields that are available for hie/her profile.

    Hope this makes sense.

  • PRANAV

    Member
    January 25, 2018 at 3:01 pm in reply to: Can I filter records while creating a report in Salesforce?

    Hi Ajay,

    You can filter out your records in report. Please see the below screenshot, it will help you.

    reportForcetalk

    So you can use your filters in report as per your requirement.

  • PRANAV

    Member
    January 25, 2018 at 2:56 pm in reply to: Can I use formula field in a Salesforce custom report?

    Hi Ajay,

    If you are using a custom report type Goto Setup -> Create -> Report types

    Click on your report type

    Scroll to the bottom, and click the button Edit Layout.

    You can find the list of fields in the object and choose the field to be added and pull it into the layout. This would be available on the bottom right of the screen.

    customreporttype

    Hope this helps you.

  • PRANAV

    Member
    January 25, 2018 at 2:52 pm in reply to: How to render component in Lightning?

    Hi Ajay,

    You can use aura:doneRendering for this. This event is automatically fired if no more components need to be rendered or rerendered due to any attribute value changes. The aura:doneRendering event is handled by a client-side controller. A component can have only one <aura:handler> tag to handle this event.

    <aura:handler event="aura:doneRendering" action="{!c.doneRendering}"/>

    Hope this helps you.

Page 6 of 12