Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Command string parameters

Forum

Search UsersRules
Command string parameters
#1
Just came
Points:: 0
Joined:: Aug 12, 2012

Hi Dear All,
We have some distributed database system in 1C. And we must arrange automatically upd ate of cf when cf changes come to node.
We have realized that some .bat file can de created and started if cf changes come with xml file.

<deleted as rules violation>

Profile
#2
Guest
Points::
Joined::

Hello, Alexey.
Regarding Russian applications please use Russian support: hline@1c.ru.

Profile
#3
Just came
Points:: 0
Joined:: Mar 14, 2013

Hello,

Where can I get application command line parameters in English version.
For instance, what is "/CЗавершитьРаботуПользователей" suited version in English version?
Similarly: "/CРазрешитьРаботуПользователей", "/UCПакетноеОбновлениеКонфигурацииИБ" etc.,

Thanx

Profile
#4
Active user
Points:: 0
Joined:: Sep 26, 2012

You can get command line parameters by F1 (Help) at Designer

Profile
#5
Guest
Points::
Joined::

Umed Sayfidinzoda, /C parameter is a string that is passed to the application and handled by it.
So it depends on the application. If you use Russian applications, in most cases you have no option to pass those parameters in English.

Profile
#6
Just came
Points:: 0
Joined:: Mar 14, 2013

Thank You to @ivan avdonin. I didn't know that.

Timofey, yes, it is a Russian application. What I want to do is, to run a batch file while client does the data exchange. I want to send series of command-line parameters so that it can:
1-> Terminate the user sessions (Something similar to /ЗавершитьРаботуПользователе)
2-> Update configuration (For this one I found: /UpdateDBCfg)
3-> Again allow users to be able to connect (Something similar to /РазрешитьРаботуПользователей)

So, how can I send parameters for step 1 and 3?

Profile
#7
Guest
Points::
Joined::

Umed Sayfidinzoda, those parameters should be supported by the application. That is why I say that you should ask for support for this application. First, try to search the application for ЗавершитьРаботуПользователей and you will find out if this option is at least implemented.

Profile
#8
Just came
Points:: 0
Joined:: Mar 14, 2013

So as I understood ЗавершитьРаботуПользователей is an application specific command-line parameter?

Is there any similar command-line parameter to terminate session and allow session for 1C Enterprise Platform?

Or if there is no such parameters in 1C Enterprise Platform, is there a way to introduce some user defined parameters?

Profile
#9
Guest
Points::
Joined::

There should be some actions performed inside the application to notify users before closing their sessions. So this is the application specific option.

If you need to implement similar functionality outside the application, you might find useful 1C:Enterprise 8 Administrative service API.

Profile
#10
Just came
Points:: 0
Joined:: Mar 14, 2013

Thank you Timofey for your time.

I'll take a look at Administrative service API.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.