Forum Replies Created

Page 1 of 2
  • Somendra

    Member
    September 12, 2019 at 10:01 am in reply to: What is the architecture of the salesforce?

    hi,

    Salesforce is a cloud company. Everything we offer resides in the trusted, multitenant cloud. The Salesforce platform is the foundation of our services. It's powered by metadata and made up of different parts, like data services, artificial intelligence, and robust APIs for development.

  • Somendra

    Member
    September 12, 2019 at 10:00 am in reply to: What is Matrix Reports in Salesforce?

    hi,

    Matrix Reports. Matrix reports allow you to group records both by row and by column. These reports are the most time-consuming to set up, but they also provide the most detailed view of our data. Like summary reports, matrix reports can have graphs and be used in dashboards.

  • Hi,

    Here are examples of common non-deterministic formulas. Force.com cannot index fields that: Reference other entities (i.e., fields accessible through lookup fields)

    Multi-select picklists.
    Currency fields in a multicurrency organization.
    Long text area fields.
    Binary fields (blob, file, or encrypted text).

  • Hi,

    Update Statement
    The update DML operation modifies one or more existing sObject records, such as individual accounts or contactsinvoice statements, in your organization’s data. update is analogous to the UPDATE statement in SQL.

    Upsert Statement
    The upsert DML operation creates new records and updates sObject records within a single statement, using a specified field to determine the presence of existing objects, or the ID field if no field is specified.

  • Hi,

    1. Use the third-party FTP utility to connect to the FTP server.
    2. Put files to import into the system in the IMPORT folder.
    3. Get files exported from the system from the EXPORT folder.
    4. Get reports from the REPORTS folder.
  • Somendra

    Member
    September 3, 2019 at 11:00 am in reply to: How can I schedule a job after every 15 minutes in Salesforce?

    Hi,

    Jobs cannot be scheduled in increments smaller than one hour.

    In Apex, you can schedule four jobs to every hour, staggered 15 minutes apart:

    System.schedule('Scheduled Job 1', '0 0 * * * ?', new ScheduledClass());
    System.schedule('Scheduled Job 2', '0 15 * * * ?', new ScheduledClass());
    System.schedule('Scheduled Job 3', '0 30 * * * ?', new ScheduledClass());
    System.schedule('Scheduled Job 4', '0 45 * * * ?', new ScheduledClass());

     

  • To select only deleted records-

    select id from *objectName* where isDeleted = true ALL ROWS

    To select deleted as well as non Deleted records-

    select id from *objectName* ALL ROWS

     

    • This reply was modified 5 years, 3 months ago by  Somendra.
  • Hi Saddam, use e.force:navigateToComponent​ for Navigate to another component

    navigateToComponent2 : function(component, event, helper) {
        var evt = $A.get("e.force:navigateToComponent");
        evt.setParams({
            componentDef : "c:Component2",
            //You can pass attribute value to Component2
            //componentAttributes :{ }
        });
        evt.fire();
    }
    

     

     

  • hi,

    Components that implement the force:lightningQuickAction interface display in a panel with standard action controls. If you want the complete control over the user interface , implement theforce:lightningQuickActionWithoutHeader interface, it will not display standard action controls.

  • Somendra

    Member
    August 29, 2019 at 8:14 am in reply to: What is field set? How can I create a field set in Salesforce?

    Hi,

    A field set is a grouping of fields. For example, you could have a field set that contains fields describing a user's first name, middle name, last name, and business title. When a field set is added to a Visualforce page, developers can loop over itsfields and render them.

    You can create field set from setup for any object

    setup > object manager > object* >field set > new

    * select object for which you want to create a field set.

     

  • Somendra

    Member
    August 28, 2019 at 9:41 am in reply to: What are the ways to call the Apex class in Salesforce?

    We can also call the apex class from process builder.

  • Somendra

    Member
    August 28, 2019 at 9:35 am in reply to: Explain Javascript remoting for apex controllers in Salesforce?

    JavaScript remoting is a tool that front-end developers can use to make an AJAX request from a Visualforce page directly to an Apex controller. JavaScript remoting allows you to run asynchronous actions by decoupling the page from the controller and to perform tasks on the page without having to reload the entire page.
    In addition, JavaScript remoting can help alleviate view state issues while still executing in the context of the user viewing the page. JavaScript remoting is the most efficient way of calling the controller and passing data in from the page, because you can ensure that you’re passing only the data that you need each time that you make a call.

  • Somendra

    Member
    August 28, 2019 at 8:38 am in reply to: My test class showing 0% code coverage in Salesforce?

    Hi Deepak

    To insert a opportunity there is some required field on opportunity object these are stagename & closedate.

    thanks.

  • You can select up to the organization limit for any user or all users, but once the organization's monthly limit is reached, users won't be able to add more records.

  • Difference between Export & Export All in data loader is really interesting. ... But when we use Export All, all records (including records present in Recycle Bin) for that particular object are exported to a .csv file. Deleted records present in recycle bin are also called 'soft Deleted' records.

  • Somendra

    Member
    August 23, 2019 at 4:36 am in reply to: What is Hybrid Cloud and Public Cloud in salesforce?

    The usage of both private and public clouds together is called hybrid cloud. A related term is Cloud Bursting. In Cloud bursting organization use their own computing infrastructure for normal usage, but access the cloud using services likeSalesforce cloud computing for high/peak load requirements.

  • We as programmers often make a distinction between"development" and "deployment," specifically the idea that we develop software in one place using tools that are different from the place and tools that we use after wedeploy the software. In the Smalltalk world, there is no such difference.

  • The end user must need to have “Apex Author” permission and this is something should not be granted to end user. Also, while creating a JavaScript button, a user must be aware that its only supported in Salesforce classic and not in Salesforce Lightning.

    Thanks.

  • As Salesforce doesn’t save data in traditional way. Data of all tenants are in common table, so traditional Query optimization query and technique will not work in this case, so there is no such tool available to optimize final generated SQL. We only have option to create SOQL which is optimized by custom inbuilt Force.com Query Optimizer.

    In Summer14, Salesforce released Query Plan Tool to analyze how query is performing. With help of this tool, we can get an idea how we can change our query to perform better.

  • If we see carefully, all our Visualforce pages are served like “c.YOURSERVER.visual.force.com/apex/YOURPAGENAME” ,
    And because of this most of time we run into Same-Origin Policy error in Javascripyt if we try to access parent page from Iframe. Following reason is explained by one of the evangelist of Salesforce:

    “The move to separate domains has one very specific purpose: leverage the browser security model (same domain policy) to protect our customers and the salesforce.com service from cross site scripting and cross site request forgery attacks.

    Moving to the serving pages from separate domains is a critical component of our ongoing commitment to insure the highest level of security and availability for everyone.

    In the world where everything is served from the same domain any custom page that you visit had full access to any other page in your org and also any page served from salesforce.com itself. This included potentially malicious code that was installed as part of a force.com package.”

  • 1) Methods with the future annotation must be static methods
    2) can only return a void type
    3) The specified parameters must be primitive data types, arrays of primitive data types, or collections of primitive data types
    4) Methods with the future annotation cannot take sObjects or objects as arguments.
    5) You can invoke future methods the same way you invoke any other method. However, a future method can’t invoke another future method
    6) No more than 50 method calls per Apex invocation
    7) Asynchronous calls, such as @future or executeBatch, called in a startTest, stopTest block, do not count against your limits for the number of queued jobs
    8) The maximum number of future method invocations per a 24-hour period is 250,000 or the number of user licenses in your organization multiplied by 200, whichever is greater

  • This is generic error message prompted by Salesforce many times, which is not well informative. To get informative message, we can try to delete same record in “Developer Console”. In Developer Console Debug log, we will get exact error message.
    Example : Lets say there is one record which is parent of more than 2000 records and grand parent of 5000 records. In such scenario from developer console it gives error something like “record cannot be deleted because it has many associated objects” However in User Interface, it will just display that “Object cannot be deleted”.

  • Somendra

    Member
    August 22, 2019 at 4:19 am in reply to: Can we mass delete reports in Salesforce using Apex?

    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

  • Somendra

    Member
    August 22, 2019 at 4:18 am in reply to: How is SaaS beneficial to Salesforce?

    Software as a Service or SaaS is a way of delivering applications over the Internet – as a service. Also known as cloud software, ASP, on-demand software or hosted software. The first applications for consumers were things like webmail, bookmarking and photo sharing. In business, things like recruitment, expenses and customer relationship management were among the early innovations. SaaS has since become a widely-used business model with more and more different kinds of applications available via the cloud.

    So what's been the driver for business seek cloud solutions? One attraction was how fast they could get services up and working. Compared with complex in-house IT projects with long lead times, SaaS implementation is fast and easy. Harvard Business Review reported that the head of marketing at a major credit card company was "like a kid in a candy store when told it would take only five weeks to get a cloud application running. IT had originally quoted 18 months."

    SaaS is one of several cloud computing solutions for business IT issues. Other ‘as-a-Service’ options include:

    Infrastructure as a Service (IaaS) – the provider hosts hardware, software, storage and other infrastructure component
    Platform as a Service (PaaS)
    Everything as a service (XaaS) – which is essentially all the "aaS" tools neatly packaged together.
    The payment model for these kinds of services is typically a per-seat, per-month charge based on usage – so a business only has to pay for what they need, reducing upfront costs.

  • Somendra

    Member
    August 22, 2019 at 4:17 am in reply to: What is the junction object and what is the use in Salesforce?

    Junction Object: In Salesforce, a Junction Object is a custom object with two masters-detail relationships to two different record types. It is used to represent a many-to-many relationship in which several junction objects can link one instance of a record to many children, and each child can equally be linked to.

Page 1 of 2