2. Grant permissions to access
The user who outputs the form using a procedure needs to be granted permission to access the following resources.
Salesforce objects and their fields
Salesforce API
Apex class
If the user cannot access resources, grant the permissions to access with referring to "Grant permissions to access".