I'm guessing there might be an issue with the entity access rights. Does the userrole you use, have the correct module role and the correct access rights?
What error message is logged in Mendix? What error message is shown in the browser console after inspecting the page?