Views: 13426
Last Modified: 17.08.2020
|
Local applications are specifically tailored and installed to a specific instance of Bitrix24. The Bitrix24 administrator is responsible for assigning correct access permissions and a name to the application. In this case the specific application is "local" but technologies used to develop it can be server or web-based.
|
There are two distinct types of local applications:
- Static HTML/JS applications. These are simple, single page applications that can call the Bitrix24 REST API via the JS SDK. The application page is accessible from the left menu. Static applications cannot receive Bitrix24 events.
- 2. Server applications written in a programming language of choice (PHP, Python etc.). These applications can call the REST API using the OAuth 2.0 protocol and receive Bitrix24 events. Server applications can be implemented as a page, or one or more embedded popup dialog windows in Bitrix24 objects that support embedding. Another option is a GUI-less application using the REST API to exchange or process data.
You can use one of the application examples as a base for your own application and add the required features.
Static application. This is a ready to run example, that makes a number of REST API calls to show the current user's first and last names.
Bitrix24 server side application with a basic GUI.
This example uses simplified OAuth 2.0, opens a page showing the current user's first and last names.
Bitrix24 GUI-less server side application. This example includes only one PHP file you have to upload to your web server. The application finds the currently logged in user and obtains the user's first and last names using REST API calls while running outside Bitrix24.
Chatbot server side application. This example creates a chat bot inside your Bitrix24 with the ability to respond to user requests. This application includes only one PHP file you have to upload to your web server.