Profound UI and Mobile

Use this board for starting discussions, asking questions, and giving advice on Web programming for the IBM i platform (and predecessors.)
kfoster
New User
Posts: 10
Joined: Tue Mar 26, 2019 11:23 am
First Name: Kenya
Last Name: Foster
Company Name: Amports, Inc.
State / Province: Maryland
Country: United States
Contact:

Profound UI and Mobile

Post by kfoster »

I am having two problems.
1. I have created a mobile application where the user will choose two variables which will be saved for the duration of using the application. These elements will only be changed after exiting the program. In using this now, it seems that the interface is saving these elements and not fully clearing after exiting. What could be the problem?
2. Is there a way to show images on mobile and web that are saved as stream files on the IFS and not under the profound directory?

Thanks!
Scott Klement
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: Profound UI and Mobile

Post by Scott Klement »

1. I don't understand the scenario. You say "variables will be saved", can you expound on that? What do you mean by "saved"? Where are these variables? You then say "these elements will only be changed..." what elements? This is the first mention of elements... do the aforementioned variables relate in some way to elements? Sorry, but I'm not following this at all.

2. Yes. There's nothing magic about the 'profound' directory, the Apache configuration defaults to allowing access to anything beneath /www/YOUR-INSTANCE/htdocs, which is where the 'profoundui' directory (which is what I assume you mean) is located. You can easily add additional directories to the Apache configuration to serve from those locations. The only caveat is that then everyone can download anything in those directories. The other way, which allows you to use object-based security, is to use the pui.downloadURL() API. This API signs you in under the userid, and therefore allows their authorities to come into play. It also provides an exit program interface where you can secure things further.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests