The 1C:Enterprise developers forum

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

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

Edited: Filip Żyminkowski - Jan 12, 2016 03:39 AM
 
#2
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

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).

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

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?

 
#4
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

You can use preprocessor instructions, for example:

Code
#If MobileAppClient Then
...
#EndIf

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

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?

 
#6
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

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.

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