Skip to main content

Posts

Showing posts from 2019

Batch Apex

1. What are transaction limits in apex? Total number of SOQL queries issued1 - 100 Total number of records retrieved by SOQL queries - 50,000 Total number of records retrieved by Database.getQueryLocator - 10,000 Total number of records retrieved by a single SOSL query -  2,000 Total number of DML statements issued2 - 150 Total number of records processed as a result of DML statements, Approval.process, or database.emptyRecycleBin - 10000 Total number of callouts (HTTP requests or Web services calls) in a transaction - 100 Maximum cumulative timeout for all callouts (HTTP requests or Web services calls) in a transaction - 120 Maximum number of methods with the future annotation allowed per Apex invocation - 50 Maximum number of Apex jobs added to the queue with System.enqueueJob - 50 Total number of sendEmail methods allowed - 10 Maximum execution time for each Apex transaction - 10 minimum Maximum number of push notification method calls allowed per Apex transactio...

Mashups and composite application

I come across a new word 'Mashup' in Integration Architecture designer exam trailmixes. ofocurse its new word in salesforce but its not new world. When we are implementing salesforce, we are frequently integrate with other system. Focus of Mashup come's here. Its bring data from external system to add the value to the existing applications. mashups require different levels of integration, depending on whether the mashed-up data is only meant to be viewed, whether it can be edited, and whether data is actually transferred between systems. There are three types of mashup:- Client Presentation Mashup -  In this type of mashup the integration takes place strictly at the visual level. It makes possible to view data from two or more applications in a browser,  without actually moving data between the applications. Example - Google Maps. Client Service Mashup -  As mashups evolve, they are becoming more complex and sophisticated. Client services mashups, for exampl...

API

API is a application programming interface that allow different application interact with each other.Its deliver the request to your provider that you are requesting it from and deliver the response back. A real example of an API How are APIs used in the real world? Here’s a very common scenario –  booking a flight. When you search for flights online, you have a menu of options to choose from. You choose a departure city and date, a return city and date, cabin class, and other variables like your meal, your seat, or baggage requests. To book your flight, you need to interact with the airline’s website to access the airline’s database to see if any seats are available on those dates, and what the cost might be based on the date, flight time, route popularity, etc. You need access to that information from the airline’s database, whether you’re interacting with it from the website or an online travel service that aggregates information from multiple airlines. Alter...