PDA

View Full Version : Where is the FlexAppUser?



Johan
8-Nov-2024, 10:00 AM
I'm trying to create my first FlexTron application and generated a workspace. But there is no SessionManager, no User table and I cannot find any property to activate it. Should I start by creating a web application? I also searched for SecMod on dataaccess.eu, but could not find anything to download.
Not sure how to procede here, I do not want to start by building my own user management functionallity from scratch when I know there are solutions for this already.

Just want to return with a status where I'm at befor I go on weekend.

I have downloaded Plato, copied SecMod from there. Added the tables and ini files, so I have them in the FileList.
Then I had to update the sws-file with version 25.0 and added some code in the .src-file to ensure that SecMod get activated.

At the moment I still have the following errors though.
----Compiler Error Summary----
- Error 4328: C:\DataFlex Projects\frontiot\ServerManagerFlxTest\Lib\SecMod\ AppSrc\cMailer.pkg (ln 407) Undefined symbol in argument OAPPLICATION
- Error 4345: C:\DataFlex Projects\frontiot\ServerManagerFlxTest\Lib\SecMod\ AppSrc\SecMod\MobileUI\oSecModMobileLoginDialog.wo (ln 85) Type check error U_CWEBCHECKBOX, MUST BE DEFINED
-- Error 4328: Undefined symbol in argument U_CWEBCHECKBOX
- Error 4328: C:\DataFlex Projects\frontiot\ServerManagerFlxTest\AppSrc\Serv erManagerFlxTest.src (ln 187) Undefined symbol in argument SECMODREDIRECT
- Error 4328: C:\DataFlex Projects\frontiot\ServerManagerFlxTest\AppSrc\Serv erManagerFlxTest.src (ln 200) Undefined symbol in argument OWEBAPP


The intention was to prepare for a quick video where I create a dummy workspace in flextron with a basic user login... 3 hours later I'm not sure I'm even on the right path...

Sture
10-Nov-2024, 12:37 PM
Hi Johan,

The version of SecMod that you had already is newer.

I suggest we take a look at this at the office and see howw it can be done.

Johan
11-Nov-2024, 02:45 AM
That is good. Though my main consern is the experience of new developers comming to the platform, who wants to build an application with user access management.
But letīs see what we can figure out.

Sture
11-Nov-2024, 09:38 AM
It comes down to being able to use a cWebSessionManagerStandard object in a FlexTron application, and for the time being this is not possible.

However, since a FlexTron application is a windows application it is always possible to insert a call a Login ModalPanel and abort the application if the user can't identify.

Focus
11-Nov-2024, 10:36 AM
Just a previous discussion

https://support.dataaccess.com/Forums/showthread.php?69614-cLocalWebAppHost-login-framework

Sture
11-Nov-2024, 12:20 PM
Thank you, I hadn't seen that