public void addLinkField(String fieldName, Link link, IDataStore dataStore) {
IDataStoreMetaData dataStoreMeta;
FieldMetadata fieldMeta;
IRecord record;
IField field;
try {
Assert.assertNotNull(fieldName, "Input parametr [fieldName] cannot be null");
//Link parameter can be null; in that case Link.DEFAULT_BASE_URL will be used
Assert.assertNotNull(dataStore, "Input parametr [dataStore] cannot be null");
try {
logger.debug("Adding link column [" + fieldName + ": " + link + "] ...");
dataStoreMeta = dataStore.getMetaData();
fieldMeta = new FieldMetadata();
fieldMeta.setName(fieldName);
fieldMeta.setType(String.class);
fieldMeta.setProperty("ROLE", "CROSSNAVLINK");
dataStoreMeta.addFiedMeta(fieldMeta);
logger.debug("Link column [" + fieldName + ": " + link + "] added succesfully");
} catch(Throwable t) {