Outsystems Server Studio 11
The application you are trying to create is on the traditional web.
How can I delete links from the home page and switch to
Example, on the home page I have two links one to enter that redirects the login page and one to register that redirects the registration page, but after logging in.In other words, when the user is logged in, the image should appear instead of the links to enter and register.
Does anyone know how I can do this?
Diana Sousa wrote:
Salman Ansari wrote:
Hi Daina,
Please check if still not able to do then please share oml example fro your screen.
I still don't understand how I can solve this problem.My main content is not the same as the example of nuno reis.
I have made some changes please check attached oml
Hi Diana,
What I understand from your post , you should apply IF condition in preparation of screen like below.
Check if User Loggedin-DisplayImageElse -Display Links
My home page has no preparation, how can I create it?
Right click on screen and "Add Preparation"
Okay, this is now added an if, but how do I put the condition?Check if User Loggedin-DisplayImageElse -Display LinksWhere do I look for the attribute you’ve signed in to?
Please have a look on below that will give you idea how you can apply IF.
https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Traditional_Web/Web_Interfaces/Designing_Screens/If_Widget
https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Traditional_Web/Web_Logic_Tools/If
Try using the condition If(id="text",True,False) for example
OR
if(Paymentmode.label = "Invoice" OR Paymentmode.label = "Cheque", "String1", "String2")
Hi Diana.
Check the logic on Login page.
If I have a user, go to page. If I don't, proceed to login.
In your case, I would do "If user is not logged, send to Login".
And on screen "If user is logged in, show image. Otherwise, show links."
,
This is working, so there is no need to put anything in the preparation?
Good to know that you got the solution