Forum Replies Created

Page 4 of 24
  • Shweta

    Member
    November 10, 2020 at 4:31 am in reply to: How to make vf page available for Salesforce1?

    First, you have to check the settings on your Visualforce Page by navigating to Setup -> Develop -> Pages. Once there, you need to make sure that the Available for Salesforce mobile apps setting is checked.

  • Shweta

    Member
    November 10, 2020 at 4:28 am in reply to: Can we use lightning component in Visualforce page?

    Follow these steps to add lightning components to a Visualforce page:
    1. Add the Lightning Components for Visualforce JavaScript library to your Visualforce page using the <apex:includeLightning/> component.
    2. Create and reference a Lightning app that declares your component dependencies.
    3. Write a JavaScript function that creates the component on the page using $Lightning.createComponent().

  • Shweta

    Member
    November 10, 2020 at 4:23 am in reply to: How to get current time in field in Salesforce?

    Time fields use the TIMEVALUE() function similarly to DATEVALUE(). And to get the current time, use the TIMENOW() function.

  • Shweta

    Member
    November 6, 2020 at 2:14 pm in reply to: What is sObject casting?

    You will need to cast from a generic sobject to a concrete sobject like an opportunity or case or account then do the insert. I've not had to do this before but I have read that you can look at the first 3 letters of objects id or use describe the information to determine what concrete type is being held by the generic. the syntax would be just like you intuited (account)oType.newSobject()

  • Shweta

    Member
    November 6, 2020 at 2:06 pm in reply to: What is openid connect authentication provider in Salesforce?

    OpenID Connect is an interoperable authentication protocol based on the OAuth 2.0 family of specifications. It uses straightforward REST/JSON message flows with a design goal of “making simple things simple and complicated things possible”. It’s uniquely easy for developers to integrate, compared to any preceding Identity protocol. It uses any third-party web app that implements the server-side of the OpenID Connect protocol as an authentication provider, such as Amazon, Google, and PayPal.

  • Shweta

    Member
    November 6, 2020 at 2:01 pm in reply to: How to use connected apps in Salesforce?

    Connected app is a framework that enables an external application to integrate with Salesforce using APIs and standard protocols, such as SAML, OAuth, and OpenID Connect. Connected apps use these protocols to authenticate, authorize, and provide single sign-on (SSO) for external apps. The external apps that are integrated with Salesforce can run on the customer success platform, other platforms, devices, or SaaS subscriptions.

  • Connected app developer: It is a Salesforce developer or ISV who builds API integrations or external apps that can access Salesforce data as a connected app. As a developer, you can build a connected app for your org, but other Salesforce orgs can install and use it too.
    connected app admin: you install, uninstall, and when necessary block connected apps from the Salesforce org. You also configure permissions and policies for the apps, explicitly defining who can use the connected apps and where they can access the apps from. These permissions and policies, which include profiles, permission sets, IP range restrictions, and two-factor authentication, provide extra security for your org.

  • Shweta

    Member
    November 5, 2020 at 11:36 am in reply to: Which scenario would Async SOQL be best used for in Salesforce?

    We can use Async SOQL when You are querying against millions of records and you want to ensure that your query completes.

  • Shweta

    Member
    November 5, 2020 at 11:18 am in reply to: What is email alert in Salesforce?

    Email alerts are emails generated by an automated process and sent to designated recipients. These actions consist of the standard text and list of recipients for an email. You can associate email alerts with processes, flows, workflow rules, approval processes, or entitlement processes.

  • Shweta

    Member
    November 4, 2020 at 2:29 pm in reply to: What is big object in Salesforce?

    Big object: It stores and manages massive amounts of data on the Salesforce platform. You can archive data from other objects or bring massive datasets from outside systems into a big object to get a full view of your customers. Clients and external systems use a standard set of APIs to access big object data. It provides consistent performance, whether you have 1 million records, 100 million, or even 1 billion. This scale gives a big object its power and defines its features.

  • Shweta

    Member
    November 4, 2020 at 12:41 pm in reply to: How to create an inbound email service in Salesforce?

    To Create Inbound Email Service: go to Setup → Build → Develop → Email Services.
    Before creating Email Services, Create Apex classes that implement the Messaging.InboundEmailhandler interface. Using the handleInboundEmail method in that class, you can access an InboundEmail object to retrieve the contents, headers, and attachments of inbound email messages, as well as perform many functions.
    After Creating Apex Classes based on the requirement, Create an Email Service:
    1. Click on New Email Service, Enter Email Service name
    2. Choose the appropriate class which you created earlier. Choose the type of attachments you want to accept.
    3. Click on the Advanced Email Security settings checkbox.
    4. Choose whether to convert text attachments to binary attachments and active checkbox.
    5. Configure Failure response settings and click on save.

  • Shweta

    Member
    November 4, 2020 at 12:38 pm in reply to: How to send an email two days before in Salesforce?

    You need to create the formula as a field on the object then create a workflow rule (or process builder, both would work). Criteria would be: NOT(ISBLANK(start_date__c))
    Then add a time trigger that would say "0 DAYS before Formula date". Now add an email alert (you'll need a template) and send it.

  • Shweta

    Member
    November 3, 2020 at 2:46 pm in reply to: How to get field label for an object without query in Salesforce?

    Try this:
    String type='Account';
    Map<String, Schema.SObjectType> schemaMap = Schema.getGlobalDescribe();Schema.SObjectType leadSchema = schemaMap.get(type);Map<String, Schema.SObjectField> fieldMap = leadSchema.getDescribe().fields.getMap();for (String fieldName: fieldMap.keySet()) {
    System.debug('##Field API Name='+fieldName);// list of all field API name
    fieldMap.get(fieldName).getDescribe().getLabel();//It provides to get the object fields label.}

  • Shweta

    Member
    November 3, 2020 at 2:36 pm in reply to: What is meant by object id prefix in Salesforce?

    Every ID in the App is either 15 characters or 18 characters (API). The first 3-digits of the ID are always the Entity ID which can be used to determine the type of the entity. Example: Contact ID (003D0000001aH2A) It have Object ID Prefix: 003

  • Shweta

    Member
    November 3, 2020 at 2:33 pm in reply to: How do deserializeUntyped used in Salesforce?

    DeserializeUntyped is used to deserializes the specified JSON string into collections of primitive data types.

  • Shweta

    Member
    November 2, 2020 at 2:24 pm in reply to: How to read root element in XML DOM in Salesforce?

    Apex provides classes that enable you to work with XML content using the DOM and DOM represents an XML document as a hierarchy of nodes. Some nodes may be branch nodes and have child nodes, while others are leaf nodes with no children. You can parse nested XML content that’s up to 50 nodes deep. DOM classes help you parse or generate XML content.

  • Shweta

    Member
    November 2, 2020 at 2:12 pm in reply to: What is Security Assertion Markup Language in Salesforce?

    SAML transactions use Extensible Markup Language (XML) for standardized communications between the identity provider and service providers. It is the link between the authentication of a user’s identity and the authorization to use a service.

  • Shweta

    Member
    November 2, 2020 at 2:07 pm in reply to: What is the lifetime of access tokens in Salesforce?

    The Access token is to be passed in the header of all API requests for data. This token has an expiration date and will always expire. By default, the Connected Apps have an access token with an expiry of 15 minutes

  • Shweta

    Member
    October 30, 2020 at 1:41 pm in reply to: Can we call future method from batch apex?

    No, We cannot call future methods directly from batch apex but we can call a web service from batch class and that web service can call the @future method. Also, we can call the future method from finish method in the batch class.

  • Shweta

    Member
    October 30, 2020 at 1:40 pm in reply to: How many future calls we can make in a day in Salesforce?

    You're limited to 50 future calls per Apex invocation, and there's an additional limit on the number of calls in a 24-hour period.

  • Shweta

    Member
    October 30, 2020 at 1:39 pm in reply to: Can we call future method inside future method?

    You cannot call another future method from a future method. As per Salesforce documentation, You cannot call a method annotated with future from a method that also has the future annotation. Nor can you call a trigger from an annotated method that calls another annotated method.

  • Shweta

    Member
    October 29, 2020 at 11:45 am in reply to: How to create big objects in Salesforce?

    <div>Follow these steps to create a big object:</div>1. Go to SetUp -> Enter Big Objects in the Quick Find Box -> Select Big Objects.
    2. Click on New.
    3. Add details about the big object.
    4. Add or edit custom fields. Custom fields store the data for your big object records.
    5. Add an index. The index defines the composite primary key for a big object and is used for querying and filtering the big object data.
    6. Click on Save.

  • Shweta

    Member
    October 29, 2020 at 11:39 am in reply to: How to query big objects in Salesforce?

    The query on Standard and custom objects is different than the query on Big objects. When you are using SOQL queries you need to query in all fields starting from the first field and do not skip any field at the end in the query because if you will skip any field it will return wrong data.
    For example: SELECT LastName__c, FirstName__c, Phone__c FROM Phone_book__b WHERE LastName__c=’001R01110302D3′ AND FirstName__c=’PC’ AND Phone__c =’243566′

  • Shweta

    Member
    October 29, 2020 at 11:35 am in reply to: How to get session ID in Salesforce?

    We can find a salesforce session-id by going to the contact page inside of Salesforce and looking at the URL at the top of the page. Everything to the right of “salesforce.com/” is your ID number. It will be 15 digits.
    In Apex you can find session id by using this: String MySessionID = UserInfo.getSessionID();

  • Shweta

    Member
    October 28, 2020 at 6:53 pm in reply to: How do I query more than 50000 records in Salesforce?

    Batch apex is the option that will work. We can process up to 5 Million records in one batch.

Page 4 of 24