Scroll down to learn more

Documentation Center

Welcome to Opinum Documentation Center. You find here all the content you need to enjoy your data.

Search Results for

    Show / Hide Table of Contents

    Excel Template Business Key

    The business key column is identified by ''_opKey'' keyword and indicates that the column contains the unique business key of the entity.

    Important

    The business key differs from the Opinum Data Hub Id

    • Opinum Data Hub automatically sets the entity Id upon entity creation
      • it is immutable
      • it is guaranteed to be unique per entity type (site, source, ...)
      • it is never recycled for another entity of the same type, even if the original entity is deleted
    • the end user freely chooses the business key
      • it is mutable, meaning that Opinum Data Hub does not prevent the modification of the business key of an existing entity
      • it does not guarantees that the business key is unique across entity types, it is upon the producer of the Master Data Upload File to ensure the uniqueness. If more than one entity have the same business key, only one entity (the first one in a non-deterministic way) will be considered by Opinum Data Hub or MDE

    Specifying ''_opKey'' alone is not enough, the MDE must know where to store/find the business key of the entity. You must associate the ''_opKey'' keyword with the entity property holding the business key using the ''+'' operator.

    This tells MDE to use the source Name to store the business key of a source

    Storing the business key in multiple entity properties (e.g. ''_opKey + _opSource.Name + _opSOurceForm.Form.Group.Field '' implies the following rules

    • the business key value is stored in all specified properties
    • if the list of properties contains multiples "system" properties (e.g. ''_opKey + _opSource.Name + _opSource.SerialNumber''), there is no deterministic way to know which property the MDE will use to retrieve an existing entity
    • if the list of properties contains multiples form properties and no system property (e.g. ''_opKey + _opSOurceForm.Form.Group.Field1 + _opSOurceForm.Form.Group.Field2''), there is no deterministic way to know which property the MDE will use to retrieve an existing entity
    • if the list of properties contains one "system" property and one or multiple form property (e.g. ''_opKey + _opSource.Name + _opSOurceForm.Form.Group.Field''), the MDE will always use the "system" property to retrieve an existing entity
    Warning

    Although the MDE will not complain, specifying a partial property to store the business key will not work as expected, the MDE will read the entire property the find an existing entity

    Developer Center

    User manual API Swagger Github
    © Opinum 2025  -   www.opinum.com

    Follow us

    Linkedin Twitter Youtube Facebook