Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Custom fields can be known by various names in different applications - here are just a few that I am aware of.

...

If we remember the objects we specified.

Info

Essential

  • The name of the attribute (Dependants, Birthday, Probation, Colour……)

  • What the value is (2,16/08/1973,No,Pink……….)

  • The foreign key that links it back to the core (USERS,PRODUCTS,JOBS) tables. image-20240823-141848.png

Good To Have

  • The table it links to ie, USERS, PRODUCTS or JOBS

  • The Column Type i.e. Date, String (text) or Number. …. Anything you can deal with types

  • A Customer / Organisation / Tenant ID - (You can use user restrictions - but this will help performance

...

[[User Fields+cf=Probation]]{{Yes}}. We use the same syntax in the URL as we do in {{object}} replacements using +cf to indicate this is a customer field.

So…

[[Object Name+cf=Custom Field Name]]{{Value}}

...

Custom Fields In A User Restriction

...

You may also find an advantage in partitioning your tables / data around your Tennant ID limitation.

Number of objects

As every object creates an additional inline SELECT statement, if a query where to contain as large volume of these selects then this could also have a impact on query perfromance. At very high volume you may still need to consider instantiating the data into a normalised Data Warehouse structure.

Additional Notes

When creating a custom table you will notice that the table alias get enclosed in `backticks` regardless of the database types. Please leave these in place. Panintelligence uses these backticks as a reference point for table alias substitution.

...