I have a Calendar application which needs to connect to same database as powerserver application.
Is there a way to connect external application to database through powerserver?
I have a Calendar application which needs to connect to same database as powerserver application.
Is there a way to connect external application to database through powerserver?
What problem are you trying to solve for the calendar app by trying to connect to the database through PowerServer? Why can't the calendar app just directly connect to the same database used by the PowerServer app? What language is the calendar app written in. Please answer these questions so we can guide you what is optimal way to solve the problem.
"Calendar application" -- you would just connect to the database it like it does already.
Remember, the PB part of pb does not "connect to the database". Instead, it uses webapis to request data and/or update data. the web apis are very specific to the PB application.
Hi Chris,
Thank you for the response.
Can you please guide how to find PowerServer Web API that PB app is using. and how to consume. also can PowerServer Web API be used to generated entity in .Net application.
If there are any documentation for Payload and endpoints it will help. Can
Thank You,
Anoop
Hi Anoop;
Can your calendar application call RestFul Web API 's instead to the data it needs? If so, you might be able to have it call the related PowerServer Web API that your PB app is using.
Another scenario that might work is if the calendar app can accept external data. Then your PB app could retrieve the necessary result set & save it to an external file for the calendar app to consume.
A third idea would be to replicate the data that the the calendar app needs in a local DB synchronized by your PB app. Say for example using the SQLite (for example) DBMS. Then have the calendar app use that local DB as it's data source.
Food for thought. HTH
Regards ... Chris
As calendar is added as a external files/application in the powerserver, it will try to connect from users system and database server is on our internal network and can not be connected from internet. Looking to implement a secured way to connect calendar to same database which is connected to powerserver application.
Is the database used by PowerServer app and calendar app is the same database?