M
M
mishamishutka2019-11-29 18:30:48
1C-Bitrix
mishamishutka, 2019-11-29 18:30:48

How to create an application for Bitrix that displays my css styles and js code on the deal and contact pages?

I'm trying to implement a visual hiding of my clients' data from employees. I want to hide my phone and email. I read the Bitrix documentation, there are almost no examples of using their api, I don’t understand how to force the " local application with access to the interface " to load my css and js files on the CRM and contacts pages.
Could you tell me a code example how to embed my scripts on Bitrix pages? Once again, I’ll clarify that I’m interested in my scripts running on Bitrix pages, and not on my custom page, which can be created using the application, I’m interested in integration with the Bitrix interface.
I read: https://habr.com/en/post/459012/ , a bit different.
Mb will be useful:https://dev.1c-bitrix.ru/rest_help/application_emb...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kiselyov, 2019-12-07
@Dm25000

Apparently, the question concerns the cloud, not the boxed version of Bitrix24.
To influence the cloud, you can only use the Bitrix JS library , but not your own scripts. But it won't solve your problem. You can't embed your CSS styles in the cloud either.
You need to either switch to the box, or close access to contacts in the standard CRM settings for employees and embed your own mini-application that will display only the data they need, receiving it via the REST API.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question