Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Enabling the application for mobile platform

Forum

Search UsersRules
Enabling the application for mobile platform
#1
Just came
Points:: 0
Joined:: Jun 11, 2015

Hello,
I've made my infobase - really huge project, and i want to save mobile application to file but it generates tons of errors, and its not in my code but in stock modules if i can name it like that. Ofc my project runs perfectly on desktop. Any solutions? I have to set something?I cant make mobile app from my project, and i have to rewrite it? It's crashing on file operations and stuff like that- desktop things. Btw. now im working on 8.3.7.

Thanks,
Filip

Profile
#2
Guest
Points::
Joined::

Hello, Filip Żyminkowski.

1C:Enterprise mobile platform have differences from main platform. So, you will have to make some changes to adopt your application for mobile platform.

At the same time, mobile applications usually should connect to the server where the complete data is stored. And the server application usually have differences from mobile application.

More details on how to create a mobile application, please see in Building your first application (Hello, 1C master class).

Profile
#3
Just came
Points:: 0
Joined:: Jun 11, 2015

Thank you, Timofey Bugaevsky

We made some steps through. Now we stoped at,

Code
LaunchParameter

Code
Result = InfobaseConnections.CloseInfobaseConnectionsByOptionsLaunch(LaunchParameter);
   If Result Then   
      Message(NStr("en = 'User sessions terminated successfully'"));
      Exit(False);
   Else
      Message(NStr("en = 'User sessions terminated successfully'"));
   EndIf;


Parameters are set for main platform, is it possible to change them for mobile? or exlude which are for mobile which are not?

Profile
#4
Guest
Points::
Joined::

You can use preprocessor instructions, for example:

Code
#If MobileAppClient Then
...
#EndIf

Profile
#5
Just came
Points:: 0
Joined:: Jun 11, 2015

So next Q: i used Configuration Control. And it looks terrible :D almost 300 errors. But many of them are about

Code
IsInRole

is any other function for mobile, doing same thing but not generating error. Btw. errors in this function means there is no role support on mobile?

Profile
#6
Guest
Points::
Joined::

There are no roles in mobile application, all its functions are available. The access is checked by server when a request made.
More details you can find in the Users/Login topic.

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.