A
A
Apostol632019-04-03 08:35:51
1C-Bitrix
Apostol63, 2019-04-03 08:35:51

How to transfer the transaction id from the Bitrix 24 crm embedded application?

Hello everyone
Created a local embedded application in Bitrix CRM.
Built into a deal using the CRM_DEAL_LIST_MENU method The
question is how, when you click on the application button from a deal, pass the id of this deal? Get or Post doesn't matter

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dies Irae, 2019-04-03
@Apostol63

When the application is opened, $_REQUEST flies from the embedding place to the handler, which contains the PLACEMENT => CRM_DEAL_LIST_MENU (embedding location) and PLACEMENT_OPTION => {"ID":"123"} (element id) parameters.
More details here: https://dev.1c-bitrix.ru/learning/course/index.php...
There is also a method in the JS library BX24.placement.info() - it also returns the embedding place and ID.

Y
YaAndryWJ, 2020-09-29
@YaAndryWJ

Registered the field through "userfieldtype.add" unfortunately there is no PLACEMENT in $__REQUEST, and the BX24.placement.info() method returns null what could be the reason? anyone have a solution for this problem?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question