2025-11-12 8:57 AM
Perhaps someone can help me with regard to creating a TBS please.
I created a TBS following the instructions here https://support.touchgfx.com/docs/development/scenarios/scenarios-create-at
I'm using TouchGFX V 4.26.0 so I altered the instructions given for V.4.25.0 accordingly.
Apart from some confusion over the naming of the JSON file which always reverts to 'MyApplication' following the pack command, the TBS that I created worked.
I then went on to create a second TBS for a different set up. However this one didn't work, and the first TBS that I had created stopped working. (I must add at this stage that I don't recall changing anything that related to the first TBS when I created the second but I honestly can't be sure).
The error I get is 'Download of 'MyAppicationName' failed, this is shown highlighted in the screenshot below at the bottom right. My two TBS's are highlighted with red star. The first TBS I created is named '4-inch-Circular', and the second 3.45 inch starter project.
I think when I created and tested the first TBS, the download icon (down arrow in the bottom right of the TBS icon in the snip) showed as 'available offline', but I can't be sure of this.
.... So that raises the question, where is the TBS expected to be downloaded from as surely its' stored locally in the .tpa file that I created and placed in location C:\TouchGFX\4.26.0\app\packages ?
There may be a clue to this in the JSON file which starts out with the following:
{
"Meta": {
"Url": "http://packages.touchgfx.com/V2/Circular/Circular-1.0.0.zip",
.....
Where is that URL and why is it being referenced at all? there is no information about this in the documentation.
I've attached the .ZIP of the .tpa file for the TBS that previoulsy worked. (This site doesn't support uploading .tpa files, however the .tpa content appears to be the same as the .zip)
2025-11-13 2:42 PM
An update on this issue. I re-created my first project TBS which now works.
The second project also works but it generates a JSON file that is literally named 'MyApplication'. It also correctly generates a .zip file that has the correct project name, this file is very large (41,216 KB, I did clean the project as described in the documentation)
The 'MyApplication.json' file contains metadata for a URL which contains the name 'MyApplication'
Looking at other TBS json files, this should be the project name.
Some description in the TouchGFX documentation of what this metadata refers to would be helpful.
This is the pack command that I used
..and these are the generated files.
I consider my problem resolved, however it would be helpful if someone from ST can comment on why the JSON file can sometimes be named literally 'MyApplication' rather than the project name.
Please also provide some description in the TouchGFX documentation of what the metadata URL in the JSON file is, it's construction and how it is used in relation to our data.
A concern I have relating to the metadata is whether the generated TBS is being stored on a remote server?
2025-11-14 2:13 AM - edited 2025-11-14 2:21 AM
I went on to change the name of the .tpa file (as the documentation says you can). After doing so the TBS failed to work, previously the TBS showed as being available offline but now shows that it is available for download and gives a Download error when the Create button is pressed.
I now believe this explains my original issue.
In summary, I wish to report the following issues with the TBS generation and documentation.
2025-11-18 3:06 AM
Hello @RobNewbury ,
Thank you for your post, I will try to investigate that. The point 1 seems to be a bug to me, tgfx.exe pack -d should create your tpa with the provided name. For point 2, I would recommend not to rename manually, but I agree with you that it shouldn't behave in a strange way if renamed. For point 3, we will consider to document it better if its needed.
Best regards,
2025-11-24 12:21 AM
Hello @Osman SOYKURT
I have the same problem. When I create a new project file, the name of the json file changes to My Application. Do you have any update for this?
BR,