Forum Replies Created

Page 2 of 6
  • Prachi

    Member
    September 18, 2018 at 1:21 pm in reply to: What is the use of apex:facet in Salesforce Visualforce?

    hi,

    <apex:facet>:
    A placeholder for content that is rendered in a specific part of the parent component, such as the header or footer of an < apex:dataTable >.

    thanks

  • Prachi

    Member
    September 18, 2018 at 1:20 pm in reply to: Limitations of using a Savepoint in apex

    hi,

    Hi Anjali,

    Limitations of using Savepoint in apex are:

    If you set more than one savepoint, then roll back to a savepoint that is not the last savepoint you generated, the later savepoint variables become invalid. For example, if you generated savepoint SP1 first, savepoint SP2 after that, and then you rolled back to SP1, the variable SP2 would no longer be valid. You will receive a runtime error if you try to use it.
    References to savepoints cannot cross trigger invocations because each trigger invocation is a new trigger context. If you declare a savepoint as a static variable then try to use it across trigger contexts, you will receive a run-time error.
    Each savepoint you set counts against the governor limit for DML statements.

    thanks

  • Prachi

    Member
    September 18, 2018 at 1:14 pm in reply to: Transient Keyword in #Salesforce

    hi,

    Use the transient keyword to declare instance variables that can't be saved, and shouldn't be transmitted as part of the view state for a Visualforce page. For example:
    Transient Integer currentTotal;
    You can also use the transient keyword in Apex classes that are serializable, namely in controllers, controller extensions, or classes that implement the Batchable or Schedulable interface. In addition, you can use transient in classes that define the types of fields declared in the serializable classes.

    Declaring variables as transient reduces view state size. A common use case for the transient keyword is a field on a Visualforce page that is needed only for the duration of a page request, but should not be part of the page's view state and would use too many system resources to be recomputed many times during a request.

    Some Apex objects are automatically considered transient, that is, their value does not get saved as part of the page's view state. These objects include the following:

    PageReferences
    XmlStream classes
    Collections automatically marked as transient only if the type of object that they hold is automatically marked as transient, such as a collection of Savepoints
    Most of the objects generated by system methods, such as Schema.getGlobalDescribe.
    JSONParser class instances.

    thanks

  • Prachi

    Member
    September 17, 2018 at 1:28 pm in reply to: What is SAQL in Salesforce?

    Hi,

    Use SAQL (Salesforce Analytics Query Language) to access data in Analytics datasets. Analytics uses SAQL behind the scenes in lenses, dashboards, and explorer to gather data for visualizations.

    thanks.

  • Prachi

    Member
    September 17, 2018 at 1:25 pm in reply to: lightning:card in salesforce.

    Hi shradha,

    Essentially it is a styled article that gives you a nice background and title format if you’re building for Lightning Page Layouts.

    thanks.

  • Prachi

    Member
    September 14, 2018 at 2:04 pm in reply to: What is a Workflow Alert in Salesforce?

    hi,

    you can create tasks which can create a pop up notification for the user when it is due. That's really it works for Workflow Alerts.As far as alerts go, only email alerts is there.

    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. They’re also available through the Invocable Actions REST API endpoint.

     

  • Prachi

    Member
    September 14, 2018 at 1:59 pm in reply to: Explain Standard and Custom Reports in Salesforce

    hi,

    With a Standard Report, whenever you create a new field, that field will automatically be added to the Standard Report / be available in the Standard Report. Also, when you're selecting the report types, the Standard Reports will give you a little chart visual preview, whereas with a Custom Report, it'll say No Preview Available.

    With a Custom Report, if you create a field after the Custom Report Type was created, you will need to manually add the field to the Custom Report Type.

    thanks.

  • Prachi

    Member
    September 14, 2018 at 1:54 pm in reply to: Limitations of using a Savepoint in apex

    hi,

    The limitations of Savepoint or Transaction Control in Apex are:

    1. Each savepoint you set counts against the governor limit for DML statements.
    2. Static variables are not reverted during a rollback. If you try to run the trigger again, the static variables retain the values from the first run.
    3. Each rollback counts against the governor limit for DML statements. You will receive a Runtime error if you try to rollback the database additional times.
    4. The ID on an sObject inserted after setting a savepoint is not cleared after a rollback.

    Thanks

  • Prachi

    Member
    September 13, 2018 at 1:41 pm in reply to: Give an example of a standard object that’s also junction object.

    hi,

    OpportunityContactrole is the junction between Opportunity and Contact, and also Quote is the junction between Contract and Opportunity. PriceBookEntry is a junction between Product2 and Pricebook2 .

    thanks.

  • Prachi

    Member
    September 13, 2018 at 1:38 pm in reply to: When do you use a before vs. after trigger?

    hi,

    Before Trigger:
    In case of validation check in the same object.
    Update the same object.
    After Trigger:
    Insert/Update related object,not the same object.
    Notification Email.

    thanks

  • Prachi

    Member
    September 13, 2018 at 1:37 pm in reply to: What are the differences between 15 and 18 digit record IDs?

    hi,

    Salesforce record Id uniquely identifies each record in salesforcce. Salesforce record Id can either be 15 digit or 18 digit. 15 digit salesforce record id is case sensitive and 18 digit salesforce record id is case insensitive. Every record in salesforce is identified by unique record Id in every salesforce organization.
    15 digit case-sensitive version is referenced in the UI and also visible in browser
    18 digit case-insensitive version which is referenced through the API
    The last 3 digits of the 18 digit Id is a checksum of the capitalization of the first 15 characters, this Id length was created as a workaround to legacy system which were not compatible with case-sensitive Ids. The API will accept the 15 digit Id as input but will always return the 18 digit Id.

    thanks

  • Prachi

    Member
    September 12, 2018 at 5:26 am in reply to: What is manual sharing (User Managed Sharing)?

    hi,

    User managed sharing allows the record owner or any user with Full Access to a record to share the record with a user or group of users. This is generally done by an end user, for a single record. Only the record owner and users above the owner in the role hierarchy are granted Full Access to the record. It is not possible to grant other users Full Access. Users with the “Modify All” object-level permission for the given object or the “Modify All Data” permission can also manually share a record. User managed sharing is removed when the record owner changes or when the access granted in the sharing does not grant additional access beyond the object's organization-wide sharing default access level.

    Thanks.

  • Prachi

    Member
    September 12, 2018 at 5:22 am in reply to: What is the difference between Insert and Database.insert in Salesforce?

    Hi,

    1.If we use the DML statement (insert), then in bulk operation if error occurs, the execution will stop .and Apex code throws an error which can be handled in try catch block.

    2.If DML database methods (Database.insert) used, then if error occurs the remaining records will be inserted / updated means partial DML operation will be done.

    Thanks

  • Prachi

    Member
    September 12, 2018 at 5:20 am in reply to: What is community cloud model in Salesforce?

    Hi,

    A community cloud is a cloud service model that provides a cloud computing solution to a limited number of individuals or organizations that is governed, managed and secured commonly by all the participating organizations or a third party managed service provider.

     

    Thanks

  • Prachi

    Member
    September 11, 2018 at 2:14 pm in reply to: What is the use of chatter in Salesforce?

    Hi,

    “Salesforce Chatter is the world’s #1 enterprise social network. This powerful collaboration software solution empowers employees to connect, collaborate, share files, data, and expertise, all in real-time. Chatter will help drive productivity and increase efficiency and innovation across departments. From sales, to marketing, to management, your entire company can use Chatter to tear down communication barriers and help your company grow and succeed as a team.”

    4 of Our Favorite Salesforce Chatter Features
    Chatter Groups
    Chatter Groups can be created for your direct team, your entire business, or a specific project team. Chatter Groups come with various benefits with the most important being collaboration between users with common interests on a particular topic.

    If you create a Chatter Group, you’re automatically the Group owner but you can assign a group manager that has similar permissions as you. The only restriction is that Group Managers cannot change the Group Owner or delete the Group.

    Email Digest
    After joining a Chatter Group, you’ll start receiving email notifications on activity within Chatter. You might find this a little annoying. No problem! You can control Chatter Group notifications by clicking the link below Group Engagement and selecting the frequency of notifications you’d like to receive.

    Additionally, you can specify the frequency of all the notifications you receive (not just a specific Chatter Group) by utilizing the Email Settings options.
    Quick Actions – Global Actions
    Depending on your Org setup, you’ll have numerous Chatter Actions available to you on your Chatter tab. Standard Quick Actions you’ll see are: File, Link, Poll, Post, Thanks and Question.The cool thing about all of these Chatter Quick Actions is that they’re totally customizable using Global Publisher Layouts. Global Publisher Layouts are available in Enterprise, Performance, Unlimited, Database.com and Developer editions.
    Chatter Thanks
    Another cool feature that comes with Chatter is Chatter Thanks. This feature makes it easy for you to drop a quick thank you note to any colleague. All you do is go to your Quick Actions bar, select Thanks, type the name of the person you want to thank and then click Change Badge.

    Thanks

  • Prachi

    Member
    September 11, 2018 at 2:00 pm in reply to: Can We Mass Delete Reports Using Apex (anonymous Apex)?

    Hi ,

    We can not mass delete reports using Anonymous Apex but it can be possible by using following step:

    In Setup, under Data Management | Mass Delete Records, select Mass Delete Reports and configure a filter to find reports that need to be deleted.

    Thanks

  • Prachi

    Member
    September 11, 2018 at 1:57 pm in reply to: What is Salesforce DX?

    hi,

    Salesforce DX is a Salesforce product in the App cloud that allows users to develop and manage Salesforce apps throughout the entire platform in a more direct and efficient way.

    Salesforce DX, used primarily by developers, allows users to have true version control. Version control allows developers to have better control over collaboration, auditing, and disaster control. It is also an important part of an agile release plan. It also helps users build and release new features quickly and with minimal risks.

    Salesforce DX combines features from Force.comand Heroku Flow along with new improvements. DX uses the migration tool from Force.com to retrieve and push metadata to an org, also known as a developer environment, but DX also pulls all functionality into one place. DX delivers integration and application pipelines that help streamline workflow through Heroku Flow.

    Salesforce DX introduces a new type of Salesforce environment in Scratch orgs. These are orgs consisting of Salesforce code or metadata that can be easily created or destroyed, helping to speed up the standard development workflow.

     

    Thanks

  • Prachi

    Member
    September 10, 2018 at 2:33 pm in reply to: What are some common API errors?

    hi,

    Missing module errors

    Documentation errors

    Parameter validation errors

    Some other standard error expectations: if the result is not so predicted, then the occurrence of errors can be seen and for the same warnings are specified in the form of a message. There can be one or more warnings within an individual module.

    Thanks

  • Prachi

    Member
    September 10, 2018 at 2:32 pm in reply to: Describe your understanding of RESTful web service?

    Hi chanchal,

    RESTful web service is one of the two types of websites besides SOAP. RESTful web services use the HTTP methods to implement the concept of REST architecture. A RESTful web service usually defines a URI, Uniform Resource Identifier a service and provides resource representation like JSON and a set of HTTP methods.

    REST contains some major characteristics:

    The SERVER has no status (or session data) because REST is stateless. With a well-applied REST API, the server could be restarted between two calls, since all data is transferred to the server

    Web service uses the POST method primarily to perform operations, while REST uses GET for accessing resources.

    Thanks

  • Prachi

    Member
    September 10, 2018 at 2:30 pm in reply to: Name some of the API testing tools.

    Hi Chanchal,

    The more API testing is popular, the more tools are available in the market. You can refer to this list for the reference. Generally, there are some common tools t: Postman, Katalon Studio, SoapUI, Tricentis Tosca.

    Thanks

  • Prachi

    Member
    September 6, 2018 at 2:44 pm in reply to: What is Caching?

    Hi Anurag,

    Caching (pronounced “cashing”) is the process of storing data in a cache.

    A cache is a temporary storage area. For example, the files you automatically request by looking at a Web page are stored on your hard disk in a cache subdirectory under the directory for your browser. When you return to a page you've recently looked at, the browser can get those files from the cache rather than the original server, saving you time and saving the network the burden of additional traffic.

    thanks.

  • Prachi

    Member
    September 5, 2018 at 2:29 pm in reply to: ‘Statelessness’ with respect to RESTful

    Hi Chanchal,

    In REST, ST itself defines State Transfer and Statelessness means complete isolation. This means, the state of the client’s application is never stored on the server and is passed on. In this process, the clients send all the information that is required for the server to fulfill the HTTP request that has been sent. Thus every client request and the response is independent of the other with complete assurance of providing required information.

    Thanks.

  • Hi Chanchal,

    A standard field record name can have data type of either auto number or text field with a limit of 80 chars.

    For generating auto numbers, the format needs to be specified while defining the field and after that for every record that is added, the number will get auto generated. For example:-
    Sr No-{1}
    Sr No-{2}
    Sr No-{3}

    Thanks.

  • Prachi

    Member
    September 4, 2018 at 6:32 am in reply to: "Responded" field in campaign member

    Hi Chanchal,

    It's used to indicate that a status value indicates a positive response to the campaign. The default configuration has the values of "Sent" and "Responded." This allows you to run reports to find out interesting information. For example, if 100 emails were sent out, and 28 responses were received, we would know that the conversion rate is 28%. This allows us to evaluate the effectiveness of campaigns. Since you may have many different values, even per campaign, it is important to know what constitutes a response, versus those that are not responses, such as "Not Interested" or "Left Voicemail".

    Thanks.

  • Prachi

    Member
    September 4, 2018 at 6:31 am in reply to: Default field in campaign member

    Hi Chanchal,

    The default value is the one that is automatically chosen: the "default" value. While capturing leads online, for example, the status will be set to the default value. Many fields may have default values, such as text fields, date fields, and picklists.

    Thanks.

Page 2 of 6