In crm 2011, in an entity I have to retrieve the first name field from a custom entity through CRM Restkit. I am getting an error when I run the code. I think the 'filter' is wrong.
If it is system entity, then filter = "ContactId eq guid'"+Xrm.Page.data.entity.attributes.get('xyz' ).getValue( )[0].id+"'";
works fine.
But my case it is a custom entity with schema name 'new_student', I tried the filter = "new_student/Id eq guid'"+Xrm.Page.data.entity.attributes.get('xyz' ).getValue( )[0].id+"'"; which is not working.
So what should the filter be in my case
Regards, Vickram