[ic] Display my own db fields

Jonathan Clark interchange-users@interchange.redhat.com
Sat Jan 26 20:26:01 2002


> I like the customer to see some additional information
> of the products. I have add 2 fields in the products
> table, called ISBN and delivery_format.
> How to display it to the customer?
> Where I need to change? How to change?



How to add your own fields to the ui Edit Item page ic4.8.x.
============================================================

These instructions show you how to add a field to the record editor pages in
the admin ui. This assumes you are adding a field to the 'products' table,
it has already been added in the database, and Interchange is aware of it.

1) Log in to the admin ui with super user permissions.
2) Go to the Administration section.
3) Click on tables.
4) Click on the Products table icon to edit the table entries.
5) Click on the link 'products' immediately after the 'Select table to edit'
heading.
 You are now at the mv_metadata settings which define the display of the
table data.
6) Add the name of your field to the list named 'Fields to edit'. These are
in the order they will be displayed for editing.
7) Click OK
 The field should now appear in the edit item page.

8) Now go to edit an item - your field should be there.
9) Click on the 'meta' link next to the field name. (it there is no 'meta'
link you need to set the variable 'UI_META_LINK' to 1 in the Admin Control
preference group.
10) set up the label, field type, width etc. and save.
11) thats it. There is no 11.

good luck,

Jonathan
Webmaint.