E
E
egorovajuliya2017-01-10 11:21:34
1C
egorovajuliya, 2017-01-10 11:21:34

How to replace the Execute() statement?

Good afternoon.
The Execute() statement does not work in web client mode. Before me, the employee used his own "Wrapper" for this operator:

&НаКлиенте
Процедура ДинамическаяПроцедура(п_Процедура) Экспорт
  Выполнить(п_Процедура);
КонецПроцедуры

And often used it by code. Can you tell me how to replace the Execute() operator?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kinash, 2017-01-10
@Dementor

Nothing. As they say in the documentation:
You just have to search to find all the calls to this "wrapper" and explicitly replace them with the text of the procedures that were passed as a parameter. Or use a thin client over HTTP.
PS Did your predecessor want to make a rebus system and be the only non-firing expert? Such commands as Run() and Calculate() are not intended for use in ordinary programming, but only to enable an ordinary user to execute arbitrary code in the "Enterprise" mode (fix something with a file when uploading/downloading).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question