Picture of Sascha
Registered 5 years 338 days
Sascha Friday, 19 July 2019, 02:54 PM
Empty template project
Do you have an empty template project for your my apps with only the files to start from?

I know there is the example app with the counter but I would like to have a template from which we can start and do not have the extra files from the counter app whithin our apps.
2013
Moderator Registered 16 years 72 days
Guntram Diehl (innovaphone) Friday, 19 July 2019, 03:05 PM
Re: Empty template project
Sorry we don't have this. In fact we think the files which are there, are good for any App, just the content may be too much. So to have the real empty project you could just delete the content of each source file.
Picture of Sascha
Registered 5 years 338 days
Sascha Wednesday, 24 July 2019, 10:25 AM
Re: Empty template project
Yes I tried that but the app will not load correctly and gives back an 404 not found. Even in the app object it shows connecting and not the connected I get normaly.

Here is my file list I have:
vACD_AgentClient/apps/vACD_AgentClient.htm
vACD_AgentClient/apps/vACD_AgentClient.png
vACD_AgentClient/apps/byon.doApiRequest.js
vACD_AgentClient/apps/vACD_AgentClientAdmin.htm
vACD_AgentClient/apps/vACD_AgentClientAdmin.png
vACD_AgentClient/vACD_AgentClient.h
vACD_AgentClient/vACD_AgentClient.cpp
vACD_AgentClient/WebserviceLogin.h
vACD_AgentClient/WebserviceLogin.cpp
vACD_AgentClient-main.cpp

I have changed the apps.mak so that it points to all the new htm, png and js files.

As far as I understood your *.mak file these lines point to the start htm files correct?
STARTHTMLS += \
$(APPWEBPATH)/vACD_AgentClientAdmin.htm \
$(APPWEBPATH)/vACD_AgentClient.htm

I also deleted all the calls for the task management in vACD_AgentClient.cpp which setup the database for the counter.

I can compile it and it will also be deploied to the app plattform but when I open the app I get the 404 error.

The WebserviceLogin.cpp and header file is the logic form your tutorial for an call to an external api and byon.doApiRequest.js does the communication with it like it was done with the phpsession.js.
← You can define your color theme preference here