Daniel/Anyone!
I have something weird going on with my messages. I have created 3 uar files which work fine and all read properly and in the right order, but when the user wants to change a label, they should be writing their changes to the middle file, however it doesn't write the changes to that file, it writes them to a file not even referenced in this list, but that is called labels.uar in the working project directory (.\project\resources\labels.uar ) - why does this happen/how can this happen?
they read, in order:
[RESOURCES]
.\project\resources\10_23_15.uar ;this one contains no messages
F:\labels.uar ;this contains messages and should be the one the users are compiling to
.\project\resources\system_labels.uar ;this also contains messages, but ones we have shipped out as defaults
What is happening??
Thanks,
Toni
------------------------------
Toni Davenport
Uniface Community Edition Shared Account
US
------------------------------
Original Message:
Sent: 12-06-2021 10:26
From: Daniel Iseli
Subject: Uniface 9 $text messages to allow user customisation of labels - how in Uniface 10?
You can edit the UMSG records with the Library Messages editor that can be found in the More Editors menu of the IDE (see Define Messages).
And the table definitions of UMSG.DICT are indeed included in umeta.xml (for Uniface 10).
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
Original Message:
Sent: 12-03-2021 12:47
From: Branislav Barnak
Subject: Uniface 9 $text messages to allow user customisation of labels - how in Uniface 10?
Is there any service form to read/write UMSG records or is UMSG table definition present in umeta.xml ?
------------------------------
Branislav Barnak
Synlab Holding Deutschland Gmbh
Augsburg DE
Original Message:
Sent: 08-06-2021 07:01
From: Daniel Iseli
Subject: Uniface 9 $text messages to allow user customisation of labels - how in Uniface 10?
If you ship the UMSG table to the customers then this is still possible.
You even can create a user-friendly maintenance form for the messages and embed it into your application. The user then can change the message text from within the application and also compile it (using $ude("compile")).
For this to work you need to make sure to include usys:ide.uar in the resources of the application (there is a note in the doc for $ude("compile")) and set $RESOURCES_OUTPUT to the location where the compiled message should be written to. This location then also needs to be added to [RESOURCES] in the ASN file of the application.
Hope this helps.