I'm not certain that I understand your problem.
Could you share the related code?
Reply to this message by going to Community
Start a new discussion in Datasource Configuration at Community