Stevie G #1 Send the value of the type field which loads the entity to the debuglog see if it's actually loading correctly (i.e. non zero). The entity may not be in the correct directory. Other than that you'll probably have to show us the function.