I am developing a page which will allow a user to select an Account and it will use that Id to construct a URL. I have no objects in my org with a lookup field to Account, and therefore I cannot use <apex:inputField>. Is there a simple way to do this? I don't want to create a field on any object because I cannot be sure that a user will have correct permissions for that object. Thanks.


explicitly specifying without sharing also will help give access to all objects

  • This did not work. With/without sharing only refers to sharing rules. – fred Apr 18 '16 at 16:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.