In app.js could we have a getRecordId() function please to return the crmid. In DetailView it's in a hidden input with an *id* of "recordId". In EditView it's in a hidden input with a *name* of "record". Consistency boys... Cheers Al