Q:
I see the app in a web page, but not in the app center...
A:
Make sure the App is 'Published' and that you are looking in the correct App Category in the App Center.
The Lianja App Builder is the development environment.
The Lianja App Center is the desktop client for published and deployed Apps.
When you install the Lianja App Builder, one user is already created - the 'admin' user, with the same password: 'admin'.
You don't need to use these login details when you start the App Builder - you will be logged in automatically - but you do need them to log into the Lianja App Center or when you log out of the App Builder Home Workspace and want to login again without exiting the App Builder.
The normal way to use Lianja is to deploy Apps and let your users choose what App to run from the App Center after they login.
But did you know that for desktop apps you can design your own custom home page so that after a user logs in or they click on the "Home" icon in the header bar your custom home page app is displayed rather than the App Center.
Just add this command line switch to the App center on the desktop.
Code:
--homepageapp yourhomepageapp
Note also that there is an attribute in the App Settings to specify the "Home page app".
Q:
Does a web app always have to begin with a login from App Center?
Can I have a Lianja web app run along with other legacy .NET apps - and ideally be able to queryWindows authentication instead of having a login?
[That's our scheme today. We have a single authentication when people log into our intranet. After that, our separate web apps do a .NET call to look up the Windows login.]
A:
No, if you look in the App settings you can enable guest access.
The reason the authentication through the App Center is important is that after login roles and permissions are assigned for the authenticated user. Bypassing Lianja authentication you lose that functionality.
Q:
We need to run our program automatically (absolutely no user intervention) at system startup on both windows and linux and in full screen (called kiosk mode?).
A:
You just need to put the --kiosk --app appname switches on the lianjaruntime and set the app as guest access.
Q:
How could I set the window size of the app center to a fixed size and disable the maximize button?
I tried to set the window size of the application in app settings but upon deploying the app, lianja app center maximizes its size. I want the app center to be not re-sizable.
A:
...window which contains the Webview hosting the desktop app center.
The issue is that there is a minumum resolution the main Windows can run in otherwise it will be maximized. I believe this was fixed in v2.0 and can be set with --geometry x,y,width,height
Q:
My application is made up of multiple apps.
Is there a way (an event or delegate of the app center) I can display a special page when the users login into the application via the app center?
A:
The "Initial page" attribute in the app settings handles that.
The "home page" attribute in the app settings determines what page to navigate to when the home icon is clicked.
The app center is also customizable as is the login page.
Q:
We need to run our program automatically (absolutely no user intervention) in full screen (called kiosk mode?)
A:
Command line switches, including --kiosk to run the Lianja App Center in full screen kiosk mode
Have a look at the Command Line Switches doc - you can also specify --loginapp, --nosplashscreen, --username and others to configure whether the user needs to login, whether they see the App Center, splashscreen etc.
Q:
How to set the app as guest access?
A:
'Enable guest access' is an App Setting.
Here I have set it to true, so without logging in I can access the example_mobileapp1 from:
Code:
http://localhost:8001/apps/example_mobileapp1/index.html
Also, if the Lianja Cloud Server is enabled on port 80 or you are using the IIS ISAPI extension from:
Code:
http://localhost/apps/example_mobileapp1/index.html
Q:
When I press the button, the "label1" shows me 0, as if not recording or anything like I was not accessing the DB.
I should show what returns TTOC (DATETIME (), 1) as I show in the next picture being in the development environment:
And this other image Lianja App Center:
What could be happening? Is there a log of Lianja App Center?
Code:
Select a
use mytable order tag mytable again
...
Replace myfield with ttoc(datetime(),1)
A:
Try removing the 'again'. You can run multiple sessions with the same App Center application to try.
Q:
Is it possible to run my app directly? Without having to go through the "Lianja Login" and "Lianja App Center" where Apps are selected.
A:
Yes, see here: Command Line Switches
For example:
Code:
C:\lianja\bin\lianjaruntime.exe --app myapp
Code:
C:\lianja\bin\lianjaruntime.exe --app myapp --nosplashscreen
Code:
C:\lianja\bin\lianjaruntime.exe --app myapp --nosplashscreen --username admin --password admin
Q:
I would like to start my app with a customised page size. i.e Less than maximised.
A:
Have a look at the --geometry command line switch.
Command Line Switches
Q:
I can not use the app center on my computer, where I have the app builder.
in another PC where only the app center is, works my application.
the aplication it´s on a server drive w:\
I run this:
Code:
C:\lianja\bin\lianjaruntime.exe --app W:soporte
this only works at pc with only app center
this not works at pc with app builder
A:
Your 'soporte' App is in the 'public' tenancy on the server in C:\lianja\cloudserver\tenants\public\apps\soporte
If your W: drive is mapped to C: on your server, the command would be
Code:
C:\lianja\bin\lianjaruntime.exe --runtimedir W: --app soporte
Or, if your W: drive is mapped to C:\lianja\cloudserver\tenants\public on your server, the command would be
Code:
C:\lianja\bin\lianjaruntime.exe --tenancy W: --app soporte
Have a look at the file c:\lianja\log\log.txt. That will list the directories it is using.
Did you specify a different drive for shared files when you installed the Lianja App Center?
It is not finding the data if you can see the form but not the data values.
All topics in [Answers] alphabetically: http://www.lianja.com/community/show...ll=1#post12352
This same topic is extended to another thread: http://www.lianja.com/community/show...s-App-Center-2
Bookmarks