Forum Replies Created

Page 21 of 21
  • The different types of Email templates are listed in the below table:-

    HTML with letterhead Only Administrators and users having “Edit HTML Templates” permissions can create this template based on a letterhead.

    Custom HTML - Administrators and users having “Edit HTML Templates” permissions can create this template without the need of a letterhead

    Visualforce - Only administrators and developers can create this template. Advanced functionalities like merging data from multiple records is available only in this template

  • Marziya

    Member
    January 20, 2020 at 10:25 am in reply to: How can we call an Apex Class in Salesforce?

    We can call apex class in below mentioned ways From another class:--
    1)Trigger
    2) Visualforce page (<apex:page standardController="Account" showHeader="true">)
    3) Developer console
    4) JavaScript button, Links
    5)  Home page components

  • It works well, but if I have 50k records this impacts scalability and not feasible.

    trigger duplicate on Account (before insert) {
        List<Account> acc = new List<Account>();
        acc = [Select id, Name from Account];
        for(Account a:Trigger.New){
            for(Account a1:acc){
                if(a.Name==a1.Name){
                    a.Name.addError(‘Name already Exist ‘);
                }
            }
        }
    }

     

  • Marziya

    Member
    January 17, 2020 at 2:10 pm in reply to: What are the subsidiaries in Salesforce?

    The following are the major subsidiaries of Salesforce:

    Tableau
    1. Pardot
    2. Heroku
    3. Mulesoft
    4. Demandware Inc
    5. SalesforceIQ

  • There are some similarities and differences between two controllers. Let us see how they resemble each other and in what aspect are they different?

    1. Both allow custom objects, custom data sets, and the custom actions. They help in leveraging existing data and actions within a standard controller.

    2.The Custom controller should contain all data and actions within a page that will be executed later. At the same time, controller extensions allow data or auctioned that is extended in the form of buttons, links, custom overrides etc.

  • No, If there are one or more active scheduled jobs for an Apex class, you cannot update the class or any classes referenced by this class through the Salesforce user interface. However, you can enable deployments to update the class with active scheduled jobs by using the Metadata API.

  • Yes, Visualforce pages can be created and edited in both sandbox and in production. Only if the page has to do something unique (different values), it would have to be developed via Sandbox.

  • Marziya

    Member
    January 16, 2020 at 1:26 pm in reply to: What is generic sObject means in Salesforce?

    In SFDC, SObject is generic and Account, Opportunity, CustomObject__c are its concrete type. Generic sObject abstracts the actual representation of any objectassigned to it. sObject is the name of the generic abstract type that can be used to represent any persisted object type.

  • Marziya

    Member
    January 14, 2020 at 1:59 pm in reply to: How can we schedule a dynamic dashboard in Salesforce?

    No, we can not do that in Salesforce. A dashboard is made dynamic by changing the “running user” from a specified user to “current logged in user”. This setting is in the properties for the dashboard.

  • Marziya

    Member
    December 30, 2019 at 2:02 pm in reply to: How to set Task Reminder Date/Time using apex in Salesforce?

    When creating a recurring task using Apex, how I can set the reminder to get the same functionality as what UI offers?

     

    The Task object has only a "ReminderDateTime"!

     

    Task t = new Task();

    t.Subject = 'Test';

    t.IsReminderSet = true;

    t.RecurrenceType = 'RecursEveryWeekday';

    t.RecurrenceDayOfWeekMask = 62;

    t.ReminderDateTime = ??

Page 21 of 21