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
$(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.