First post, please be kind.
NOTE. I looked at entry No. 20856 (how to implement tagging), but I feel that it differs in that the tag method that I am considering is specific to the organization in my application. I hope someone can confirm the direction of Im, or indicate other options.
(background). We are creating a web application that provides various information about various organizations in its resources in different places. The database stores users, organizations, sites and elements, as well as links from sites and elements to organizations that allow us to determine which elements / sites will be displayed to users (based on their organization).
Typically, two (or more) organizations want to use the portal to check the stock status (for example) of Widget A at the Los Angeles Warehouse. This part is fine. However, various organizations also track unique information about Widget A. For example, Org 1 wants to track the color, volume, and primary provider for each item. Org 2 wants to track color, stock type, inventory cycle, customer code for each item. I want to avoid the situation where I should have a table loaded with all these possible fields, and then find out which organizations use the fields.
I am considering using something along tag lines, but I add a tag category and define a tag category at the Org level. So, the basic structure of the table will look something like this:
Table: OrgTagCategory
Fields: OrgId, TagCategoryId, CategoryTitle
Table: OrgTag
Fields: OrgId, TagCategoryId, TagId, TagTitle
Table: OrgItemTag
Fields: OrgId, ItemId, TagId
Then, when the user has entered the main dashboard, the grid will include the corresponding element fields in the form of columns in the grid. So, from the above example, Org 1 will see Item #, Description (will be shown to everyone), color, volume and primary provider. Org 2 will display Item #, Description, Color, Stock Type, Inventory Cycle, Buyer Code.
Am I thinking too much about this, or is there an easier way to do this so that I go missing? All thoughts / reviews are sincerely appreciated.