I have been playing with the ProfoundUI mobile app from Apple Store and have a couple of points:
1) At first I was getting error messages when loading my app on an iPad because PROFOUNDUI was not in the library list. This was fixed by adding a line in the CL (but type USR), but why isn't it added automatically like a standared http program? Is there a setting I'm missing?
2) Is it possible to have more than one app per IBMi? I would like to have a different app per department, is there a way to do this?
Thanks,
Paul.
PS ... awesome app!
Mobile App
-
- Profound User
- Posts: 39
- Joined: Mon Aug 29, 2011 10:53 pm
- First Name: Paul
- Last Name: Foster
- Company Name: GRI Group Ltd
- Country: Hong Kong
- Location: Hong Kong
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Mobile App
I'm not aware of any situation where it would not add your PROFOUNDUI library to the library list? The server side code is called by the HTTP server in all cases (whether it's from the mobile client or a browser doesn't matter) so I don't know why it wouldn't add PROFOUNDUI to the library list?
When you add your server settings to the mobile app, there's a place where you can define a parameter. This will be passed (as a 250A parameter) to your initial mobile program. So if you want to have a separate app per department, you can set up a CL program as your initial mobile program, and based on the parameter passed, you can have it do a CALL to different programs. This way you can have as many apps as you like.
When you add your server settings to the mobile app, there's a place where you can define a parameter. This will be passed (as a 250A parameter) to your initial mobile program. So if you want to have a separate app per department, you can set up a CL program as your initial mobile program, and based on the parameter passed, you can have it do a CALL to different programs. This way you can have as many apps as you like.
-
- Profound User
- Posts: 39
- Joined: Mon Aug 29, 2011 10:53 pm
- First Name: Paul
- Last Name: Foster
- Company Name: GRI Group Ltd
- Country: Hong Kong
- Location: Hong Kong
- Contact:
Re: Mobile App
Thanks Scott, the parameter fixes this problem. For the first problem (no PROFOUNDUI in libl):
When I use the app this is what I get by default, taken from job in QHTTPSVR:
Cannot resolve to object PROFOUNDUI. Type and Subtype X'0203' Authority
X'0000'.
Message MCH3401 received for RPG procedure
Library list:
For a normal browser sign on as expected I get PROFOUNDUI as a system library:
Not sure why this is happening, I don't have any special authorities for PROFOUNDUI and there is nothing in joblog. Adding PROFOUNDUI in initial CL:
Library in in user portion of libl. So no problem, just curious why I need to add the library.
Thanks,
Paul
When I use the app this is what I get by default, taken from job in QHTTPSVR:
Cannot resolve to object PROFOUNDUI. Type and Subtype X'0203' Authority
X'0000'.
Message MCH3401 received for RPG procedure
Library list:
Code: Select all
Library Type
QSYS SYS
QSYS2 SYS
QHLPSYS SYS
QUSRSYS SYS
QTEMP USR
...
Code: Select all
Library Type
PROFOUNDUI SYS
QSYS SYS
QSYS2 SYS
QHLPSYS SYS
QUSRSYS SYS
QTEMP USR
Code: Select all
Library Type
QSYS SYS
QSYS2 SYS
QHLPSYS SYS
QUSRSYS SYS
PROFOUNDUI USR
Thanks,
Paul
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Mobile App
Ok, I see the problem. I'll create a bug report for this.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Mobile App
Paul, the problem with the PROFOUNDUI library not being automatically added in a mobile session has been corrected on our dev box, and will be included in the next release of Profound UI
-
- Profound User
- Posts: 39
- Joined: Mon Aug 29, 2011 10:53 pm
- First Name: Paul
- Last Name: Foster
- Company Name: GRI Group Ltd
- Country: Hong Kong
- Location: Hong Kong
- Contact:
Re: Mobile App
Great, thanks Scott.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Mobile App
Paul, version 4.8.5 of Profound UI is now available for download, and contains the fix for this issue.
Thanks!
Thanks!
Who is online
Users browsing this forum: No registered users and 8 guests