Hi,

I struggle with this problem: I can create simple entity, and save it to database, however I cannot display it. It seems that drupal doesn't render the content of the entity. So my question is: If I have simple entity which contains variable : note, which can be represented as simple textfield

$schema['postit'] = array(
        'description' => 'The main store for our entity',
        'fields' => array(
            'pid' => array(
                'description' => 'Primary key for our table of postit notes',
                'type' => 'serial',
                'unsigned' => TRUE,
                'not null' => TRUE,
            ),
            'note' => array(
                'description' => 'The actual note',
                'type' => 'varchar',
                'length' => '255',
                'not null' => TRUE
            ),
        ),
        'primary key' => array('pid'),
    );

Do I have to use field_create_field and field_create_instance for the 'note' to be able to generate view content of this entity ?

Thanks
Kuba