1C Mobile ProgressBar



The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Aug 11, 2017
Company:

Hi!
How do I use 1C Mobile ProgressBar.
I want to use it in the data processor registration process.

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 12, 2017
Company:

Dear marmara2000 Burak,

To learn how to create and use the progress bar, refer to the "Display Status of Lengthy Processes" in 1C:Enterprise Platform Developer's Guide.

The approach described there is relevant for 1C:Enterprise Platform-based mobile applications as well.

Best regards,
Vladimir Gurov

 
#3
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Aug 11, 2017
Company:

Thank you Vladimir
But there is not State() method.
And There is Status() method.
This method does not work in mobile.

Download State.jpg (106.36 KB)
 
#4
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 12, 2017
Company:

Dear marmara2000 Burak,

To work with a progress bar, you can use the following approach:

- Create a form.

- On the form, create an attribute of the Numbertype.

- To the form, add a field and set its Type property to "Progress bar".

- From the field's DataPath property, select the form's existing attribute of the Number type to whose value you want your progress bar to respond.

- In your code, implement the logic your progress bar is to perform.

Best regards,
Vladimir Gurov

 
#5
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Aug 11, 2017
Company:

I know I did it, but

for example:
I have a documentobject in mobile
How can I show this ProgresBar when I press the save button.
ProgresBar does not work until registration is complete.

 
#6
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 12, 2017
Company:

Dear marmara2000 Burak,

In your scenario, the result you get is expected. The operation with the DocumentObject is run on the server, and the client only gets the result of the operation once it's finished.

If you want to catch intermediate results of a process that runs on a server, save them somewhere, and then process them on a client (for instance, to display the process's progress), you can rely, for instance, on background jobs. Please refer to 1C:Enterprise Platform Developer's Guide on the matter.

Best regards,
Vladimir Gurov

 
#7
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Jan 29, 2013
Company: EMS Teknoloji

Thank you Vladimir Gurov

 
Subscribe