Skip to main content

How to update Bitrix24 list item in Python3 from AWS Lambda

The main problem is that when updating a list item, we need to fill not only field we need to update but all the fields. Therefore, before the update, we must first request all the fields of the element by ID, reformat them into another array, and only then update. http_build_query function: https://gist.github.com/BedrosovaYulia/2373bf43b4f89ee4479cc04ab1d0ceff

Comments

Popular posts from this blog

How to add a custom activity type in Bitrix24 CRM

During one of our recent self-hosted Bitrix24 implementations, we had the task of adding a new type of Activity to CRM - something between a Call Activity and a Visit Activity. The customer wanted this new Activity to be able to participate in CRM reports and filters. To begin with, it was necessary to add a link to a new Activity type in the CRM entity card. We found out that the crm.timeline component is responsible for the output of this part of the interface. In particular, its template.php contains a list of displayed links to case types. For example, for a call, something like: Accordingly, as we can see, this is a regular link with the data parameter item-item-id. So we can add ours, with our own unique data-item-id. As you can see, the href for the link is set as "#" - clicking on this link is processed by the JS code from the script.js of this component. Indeed, the BX.CrmTimelineMenuBar function is responsible for this.processItemSelection()....

How to properly develop your own REST methods for on-premise Bitrix24

During one of our recent implementations, CRM Bitrix24 was used as a backend for another external system - for a student's account. Through an account interface, students can apply for training in the chosen course, upload the necessary documents, monitor the status of their application, pay tuition bills, and also interact with their curators. All this is very deeply integrated with Bitrix24 business processes. For such a deep integration of Bitrix with a third-party system, we lacked standard REST methods - the logic for using requests became too complicated and confusing.