Autolinks

Introduction

A common requirement in web applications is that the user should be able to navigate to different parts of the application easily. For example, if the user is viewing a customer, and that customer belongs to a certain country, it should be easy to navigate to that country's definition.

Autolinks

Autolinks are part of the solution to the problem presented above. This is a mechanism based on inferences in the structure of the KB.

Consider this transaction definition:

AutolinkTrnDefinition
Country transaction definition

In this definition, the attribute "CountryName" is the description attribute for the transaction. The autolink inference will associate that attribute (and all its subtypes) with the Country transaction.

When a read only attribute node referencing one of these attributes is generated in K2BTools patterns, if its "Autolink" property is set to "True", a link will be generated, redirecting the user to the "Country" transaction, passing the corresponding PK values as parameters.