L
L
Lateness2022-03-05 11:27:26
1C-Bitrix
Lateness, 2022-03-05 11:27:26

How to get an array of contact fields list of employee card?

You need to get an array of the list from "Contact information", that is, "first name", "surname", "patronymic", "email", "Phone". At the moment, I used crest, displayed crm.contact.list, but did not get the desired effect, the phone is not displayed. Can you tell me how to withdraw?
62231e03ccdf5812750170.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lateness, 2022-03-05
@Lateness

Found a solution:
In my case, we get information about the phone number from the user fields of employees.

$obFields = CUser::GetList(
     ...
);
while ($arFields = $obFields->GetNext()) {
     ...
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question