CMDBuild Forum

'Zip' code in address

Is it possible to change the size of the 'Zip' code used in an address, e.g. 'Building' card

UK postcodes (equivilant to a Zip code) are up to 8 chars (letters, numbers and spaces)

A definition format is here.  I guess other countries may have even longer codes.

This seems to be a feature of the CMDB application rather than the database - at least I tried making the 'Zip' column take more chars in postgresql but it didn't change anything.  Either I've not done it correctly or maybe the application needs to check the size of the field and use that.

Hello,

the CMDBuild demo database that you can find in the download ZIP file and in the online demo is only a small database sample.

Starting with the option of "empty database" you can use the CMDBuild Administration Module (if you have the role of superuser) to configure your own data model with all entities that you needs.

In the Administrator Manual you can find all the necessary information.

You can model all the entities of your interest in the configuration items area (system software, application software, desktops, servers, VMs, printers, monitors, etc), in the purchase area (orders, deliveries, suppliers and their headquarters, warranties, supplier, supplier staff, etc), in the location area (buildings, floors, rooms, etc), in the datacenter area (racks, patchpanels, LANs, wirings, etc), in the IT services area (services, SLAs, KPIs, etc), in the human resources area (offices, employees, cost centers, organizational chart, etc), and in any other areas you needs, also organizing your entities in superclasses / subclasses (CMDBuild uses the PostgreSQL object relational mechanisms).

If at this moment you only need to extend the length of the Building.ZIP attribute in the CMDBuild demo database is enough that you:

  • Enter the CMDBuild Administration Module (link at the top of the CMDBuild GUI, next to the name of your group)
  • Go to "Class List" and select the class Building
  • Go to the Attributes TAB and select the attribute ZIP
  • Press "Modify Attribute" and change the attribute length from 5 to 8
  • Go back in the Management Module (link at the top next to the name of your group)

At this point all the cards of the Building class (both existing ones and the new ones that you will insert) will allow you to use ZIP codes 8 characters long.

CMDBuild Team

Previously Tecnoteca wrote:

Hello,

the CMDBuild demo database that you can find in the download ZIP file and in the online demo is only a small database sample.

Starting with the option of "empty database" you can use the CMDBuild Administration Module (if you have the role of superuser) to configure your own data model with all entities that you needs.

In the Administrator Manual you can find all the necessary information.

You can model all the entities of your interest in the configuration items area (system software, application software, desktops, servers, VMs, printers, monitors, etc), in the purchase area (orders, deliveries, suppliers and their headquarters, warranties, supplier, supplier staff, etc), in the location area (buildings, floors, rooms, etc), in the datacenter area (racks, patchpanels, LANs, wirings, etc), in the IT services area (services, SLAs, KPIs, etc), in the human resources area (offices, employees, cost centers, organizational chart, etc), and in any other areas you needs, also organizing your entities in superclasses / subclasses (CMDBuild uses the PostgreSQL object relational mechanisms).

If at this moment you only need to extend the length of the Building.ZIP attribute in the CMDBuild demo database is enough that you:

  • Enter the CMDBuild Administration Module (link at the top of the CMDBuild GUI, next to the name of your group)
  • Go to "Class List" and select the class Building
  • Go to the Attributes TAB and select the attribute ZIP
  • Press "Modify Attribute" and change the attribute length from 5 to 8
  • Go back in the Management Module (link at the top next to the name of your group)

At this point all the cards of the Building class (both existing ones and the new ones that you will insert) will allow you to use ZIP codes 8 characters long.

CMDBuild Team

 

That works fine.  Thanks for the prompt answers.

Mental note to self: read all of documentation before playing with system

Hi CMDBuild Team

I would like add new building in class location but i don't see my country in a list ( my country is VietNam). What should i do let see my country.

 

Thanks for support

.

To add a country in the country list you have ti go in the Administration Module and menu Lookup.

The you select the country lookup and you can add new lookup values (see the CMDBuild Administrator Manual).

CMDBuild Team

.