You can get the type by using
this.getModel().getObject("/#EntitySetName/Property/@type");
Regards,
Jamie
Thanks for your reply but it is the EntitySetName that I am trying to get. My model has two entity sets, PRHeaders and PRItems. Within the common routine I am writing I execute "this.getModel().getObject(this.getView().getBindingContext().sPath)" which may return a PRHeader or a PRItem depending on the view that is calling the routine. I need to be able to determine the Entity Set Name of the returned object.
Mike
Add comment