Picture of Wim 4127
Registered 6 years 310 days
Wim 4127 Friday, 24 April 2020, 08:51 AM
Visual Studio run does not create app object after it was deleted
I wanted to change the icon and the name(s) of my app and basically start as "new app" on the PBX. Therefore I decided to uninstall the app from the App store. After that, I also remove the App object in the PBX (since this name would/should best correspond with the new name).

However, when I run the project again from Visual Studio, the app is deployed again and visible in the AP manager, but, the PBX App object is not created again, and can thus not be assigned to a user/opened/used.

How can I force creation of the PBX App object, or, why isn't this created again when it is removed?
Picture of Marc Schodermayr (innovaphone)
Moderator Registered 9 years 259 days
Marc Schodermayr (innovaphone) Friday, 24 April 2020, 09:46 AM
Re: Visual Studio run does not create app object after it was deleted
Normally the AppObject should be created (if not found) when opening the solution. However, it is the name of your project that defines the name of the PBX object, too. So the Visual Studio Project should be renamed, too. If that doesn't work, you can still remove the Remote Connection in the PBX Manager and Readd it - that should set up everything, too.
Picture of Wim 4127
Registered 6 years 310 days
Wim 4127 Friday, 24 April 2020, 05:19 PM
Re: Visual Studio run does not create app object after it was deleted
There are apparantly a lot of "names" and settings that refer to the visual studio project name, that make chanign it very hard to practically impossible; Would be nice to have this documented though, so that it is clear how/where to define names for an application. For example:
- What defines/which code or property sets the name of the app in the ap manager
- What defines/which code or property sets the name of the app object in the pbx
- What defines/which code or property sets the text next to the item of the app in the myApps?
Also, it would be good to mention how they relate to the properties set in the main.cpp file of the app
- the serviceArges.serviceID
- the instanceArgs.appName
- the instanceArgs.appDomain
- etc...
Is there documentation about all the properties, and, more important what they mean and what the effect is of changing them??
Kindly advise or update the documentation. I have changed and played with all of them, none of them lead to a working combination... only untill I reverted all of them to the original values, which is not really a nice way of working (the name of my visual studio project should be independent from the name I give the app in for example the myApps)

Finally, there is an init pbx and app platform button in the toolbar that does teh reqeusted creation of the pbx object. Opening the solution does not create the app object in the pbx if this was deleted.
← You can define your color theme preference here