Skip to main content

Make Calls to PageReference.getContent() in Asynchronous Apex - Winter16

You can now make calls to the getContent() and getContentAsPdf() methods of the PageReference class from within asynchronous Apex such as Batch Apex, Schedulable and Queueable classes, and @future methods. This allows you to design much more flexible and scalable services that, for example, render Visualforce pages as PDF files.

Comments

  1. your concept is new to me and thus i got more information from your blog it is very much useful for me to enrich my career.

    ccna Training in Chennai

    ReplyDelete
  2. Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.

    digital marketing company in chennai

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. This way my buddy Wesley Virgin's biography launches with this SHOCKING AND CONTROVERSIAL video.

    You see, Wesley was in the military-and shortly after leaving-he found hidden, "SELF MIND CONTROL" tactics that the government and others used to get anything they want.

    These are the exact same methods lots of famous people (especially those who "come out of nothing") and the greatest business people used to become wealthy and successful.

    You've heard that you use less than 10% of your brain.

    That's mostly because the majority of your brain's power is UNCONSCIOUS.

    Perhaps that thought has even taken place INSIDE OF YOUR very own mind... as it did in my good friend Wesley Virgin's mind about seven years ago, while driving an unregistered, beat-up trash bucket of a car with a suspended license and with $3 in his bank account.

    "I'm absolutely fed up with going through life paycheck to paycheck! Why can't I turn myself successful?"

    You've been a part of those those questions, right?

    Your success story is waiting to be written. You just have to take a leap of faith in YOURSELF.

    CLICK HERE TO LEARN WESLEY'S METHOD

    ReplyDelete
  5. According to Stanford Medical, It is indeed the ONLY reason this country's women live 10 years longer and weigh on average 42 lbs lighter than we do.

    (And really, it is not related to genetics or some secret diet and really, EVERYTHING related to "HOW" they are eating.)

    P.S, What I said is "HOW", not "what"...

    CLICK this link to determine if this quick quiz can help you decipher your true weight loss potential

    ReplyDelete

Post a Comment

Popular posts from this blog

Mashup Integration in Salesforce

During preparation for TA certification exam, I came across a word Mashup for integration a number of times. I explored about it and below is description:- Mashups, sometimes called “composites,” are hybrid applications created by bringing together several data sources and Web services to create a new application or to add value to an existing application. Behind the scenes, mashups may 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 ser

Grant Access Using Hierarchies

Problem There is a custom object say 'XYZ' and OWD for this is set to ' Private ', which means record of this can be seen by only owner and users above in role-hierarchy and territory. However, to share this with other user, we can manually share it. The problem is that I don't want other users, who are above in role-hierarchy and territory of the user with whom record has shared, can see it. Solution We can un-check ' Grant Access Using Hierarchies ' check box for object 'XYZ' on 'Sharing Settings' page. We can go to Setup >> Security Controls >> Sharing Settings and click on ' Edit ' button. On the edit page, we can un-check ' Grant Access Using Hierarchies ' for required object.  Major uses of 'Grant Access Using Hierarchies' are:- If you disable the Grant Access Using Hierarchies option, sharing with a role or territory and subordinates only shares with the users directly asso

ReadOnly Annotation

Use Case:- You want to show up to 10000 record on single VF page. Count of records based upon some business requirement where number of records could go up to 1 million. So far, it was not possible to achieve above in VF page because of following limitations:- The maximum number of items in a collection that can be iterated over using components such as <apex:dataTable> , <apex:dataList> , and <apex:repeat> is 1000. Normally, queries for a single Visualforce page request may not retrieve more than 50,000 rows. Solution:- But with API version 23.0 , salesforce has introduced ' ReadOnly ' annotation which has following functionality/restriction:- The @ReadOnly annotation allows you to perform unrestricted queries against the Force.comdatabase. All other limits still apply. It's important to note that this annotation, while removing the limit of the number of returned rows for a request, blocks you from performing the following operations