Hey Ramy,
Not sure that I can solve your problem, but,
You might wanna look at this question,
https://forum.mendix.com/link/questions/112869
Hope it helps!