This content has been marked as final. Show 1 reply
What you could do is create a new form field in your resource to hold the information you require (and add it to your request data set). You can then update the request data in dataset validator plugin code so that this attribute is populated with the data you require from the request. This data will then be available in the resource for use as you require.
In the data set validator you can get the name of the requester from ContextManager.getOIMUser().
You can then add this to the request by creating a new RequestBeneficiaryEntityAttribute with your dataset attribute name and value and add this into your target attributes, (List <RequestBeneficiaryEntityAttribute> obtained from the getEntityData() method of your RequestBeneficiaryEntity).