You would want to generate User ID in the document but while generating document you get error 'You do not have permission to access the following placeholders : ***.' despite of proper permissions.
Employee Central - Document Generation
Reproducing the Issue
Create User Id mapping as shown below: Job Information > User Id
Then go to Generate Document tool and try download or Generate Document > we get error: 'You do not have permission to access the following placeholders : ***.'
This is an expected behavior as the User Id referred in document is being fetched from Job Information (this field doesnt exisit in Job Information section but can be used to get User Id) and permission controls on EmployeeData > User Id wont help here.
A workaround for this is to create a custom-string in Job Information and then use a rule to put the User Id value in this custom-string. A sample rule shown below:
Here Radford Job Code is custom-string. This rule will fetch User Id and put the value in custom-string.
You can then map this Job Information > custom-string in the Document Generation Mapping Template. Give atleast vVew permission for this custom-string and then generate document.
You do not have permission to access the following placeholders generate document user ID document , KBA , LOD-SF-EC-DOC , Document Generation , LOD-SF-EC , Employee Central , Problem