How to Change the URL of the Application

How to Change the URL of the Application

  
i developed the sample application when i run the application it run under link http:/localhost/TestApplication/admin.
I have 3 menu.for the last menu i checked the Visible property for menu  as "Session.Username=admin" Visible else InVisisble.
when i run in http:/localhost/TestApplication/admin. login through admin menu will visible else not visible.
But i run in http:/localhost/TestApplication/ the menu will visible while login through admin but i click it move to login page.

How to solve this problem

Hi Devaraj,

Without looking at the application, and knowing what privileges your "admin" user has in that application, it is hard to trace.

However, if I may, setting a menu as visible or invisible based on the username is not the best way to do so. It is a best practice to set visible or invisible based on the user's permissions, which is how we do it in the default Style Guide template.

I encourage you to create a new eSpace based on the StyleGuide (if you're in 5.1, it's just a new eSpace), drag an entity to the main web flow, and then open the menu webblock, to see how it's set.

In your case, after you login in the http:/localhost/TestApplication/ application, does it work?

Regards,

Paulo Tavares
thanks for you Reply

i m using servicestudio 5.1.1.7 and i created the sampleApplication,
Is it possible without using the Enterprisemanger we can set the permission for the user?If yes Can you please tell the procedure to implement the process.
My requirement is if the user is admin we should show all the menus.If user is not an admin we must hide the menus.

thanks


Hi Devaraj,

The Enterprise Manager is part of the Agile Platform, and it is where we manage the roles, privileges, and all user access control. That is the way it should be done.

The way to do it without Enterprise Manager will be for you to write all the user access control configuration and management mechanism on your own.

Why would you want to not use the Enterprise Manager, may I ask?

Regards,

Paulo Tavares

sorry i didn't understand the full process of Enterprise Manager
When we creating the webscreen the Edit and View Rights are created in the "OSUSR_A7L_PERMISSION_MASTER" in Outsytem Database.Similarly all Rights are maintained in the Outsystem DB.But i created the UserDetails, UserAccess Rights table in my database and insert the value on it. when i used the builtin function to check the grant permission etc it will check Outsystem DB.
so Is It possible to use my table to check the Rights of user using the Built in Function?

Hi Devaraj,

Sorry for the late reply, but this somehow slipped under my radar.

No, it is not possible for you to use our built-in functions to do that in another database table. Our built-in functions use our system tables, and that's how it works.

As I mentioned, if you want to do it in separate tables, you will need to implement them on your own, to write all the user access control configuration and management mechanism on your own.

Which
begs the question, once again: what are the reasons why you do not want to use the Enterprise Manager, may I ask? I'm interested in your feedback on this subject, since you've been very clear about wanting to do everything outside it. What exactly are the problems that you are facing with it?

Regards,

Paulo Tavares