JSON is case sensitive – and as it stands, there\’s no automatic way in Uniface (via standard proc commands –
up to and including 9.7.01) to define a mapping to/from JSON.
For example, receiving a JSON string where \”CustomerId\” contains the customer number,
there\’s no easy and straight forward was to transform to \”CUSTOMER_NUMBER.CUSTOMER\”.
Going the other way, there is no easy and straight forward way to transform
\”CUSTOMER_NUMBER.CUSTOMER\” to \”CustomerId\”.
All posts by Knut
show queue in urouter
There are times when a message is sent via \’postmessage\’ and it ends up in never-never land.
At the moment there is no way of finding these \’orphan\’ messages via proc or the urouter monitor –
short of dumping the memory from urouter.
ASN summary
ASN files can (many times) be like \’black magic\’.
Redirects, includes, client asn\’s layered before server asn\’s – all fun and games – and sometimes NOT.
I\’d love to have a switch / proc function that would give \’the world according to Uniface\’ –
something like :
The current setting for each of the ASN sections – and which ASN file it came from….
Update $status from $replace
It would be really nice to have $status (or $result) updated with the actual number of replaces done when using $replace.
$snapshot
Many moons ago there was a really nice (albeit undocumented) feature in Uniface…. A function called $snapshot.
In essence, it dumped virtually ALL internal Uniface functions reflecting the current runtime engine to the message frame. Things like;
$status, $result, $entname, $fieldname, $occmod, $applname, $formname etc etc.
Even today in 9.6 – the debugger doesn\’t throw a \’does not exist\’ – it simply crashes the application ;-)…….. so it\’s there…. but not working….
What would be huge would be to get $snapshot to return a value list of its content….