Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > 1C Mobile ProgressBar

Forum

Search UsersRules
1C Mobile ProgressBar
#1
Just came
Points:: 0
Joined:: Aug 11, 2017

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

Profile
#2
Just came
Points:: 0
Joined:: Dec 12, 2017

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

Profile
#3
Just came
Points:: 0
Joined:: Aug 11, 2017

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

Profile
#4
Just came
Points:: 0
Joined:: Dec 12, 2017

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

Profile
#5
Just came
Points:: 0
Joined:: Aug 11, 2017

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.

Profile
#6
Just came
Points:: 0
Joined:: Dec 12, 2017

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

Profile
#7
Active user
Points:: 0
Joined:: Jan 29, 2013

Thank you Vladimir Gurov

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.