I have a question about the alias concept regarding persistence. In your persistence config, you can give an item or an item group an alias name. The persistence binding can use this alias to store the item values under this name.
The problem I see is when querying the persistence binding for values of a specific item, there is only the item name available, not the alias name.
So, using an alias is making the persistence layer write only? Should the binding always be able to resolve the item state only through to item name, even when using aliases? What is the idea behind the alias name? Have I overlooked something?
The persistence layer has the same “lookup table” as defined in xxx.persist file available for write or read access.
The idea of the alias as I understand it, is to allow operation with databases that can be picky about table name lengths. Or, when using persistence to publish to some remote service (it doesn’t only do dbs) you can assign names that are used at the remote end - perhaps these are not editable by you to match your Item names.