function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
marie.tournemarie.tourne 

Quote Generation with Pages2PDF - Insufficient Privileges

Hello,

I am testing PDF Quote Generation using the example provided on the wiki: http://wiki.apexdevnet.com/index.php/Visualforce_Quote2PDF.

It works pretty well with admin user, with a standard user ("standard user" profile), it does not work and displays the Insufficient privilige error page:
"You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. ", whereas the user does have access to the quote record.

I have looked over the standard profile and really can't see why it's not working. Any Ideas ? (would be of great help)

Regards
hisrinuhisrinu
Hi,

   You need to give access to that page for that profile.
   Also if you are using any controller for that page, you need to give access to that also.


Thanks
Srini
mfoxmfox
Actually once you give page level access to that profile you don't have to go in and give controller level access to that profile for any controllers used on that page. Page level profile access is all you need.