URL Parameter Extraction

URL Parameter Extraction

  

Hello,


I am very new to Outsystems so I am sorry if this has been answered elsewhere. I am working on a small app, just to learn how to use Outsystems and I was wondering how I would extract the parameter from this URL

https://myapp/auth?code=bf30cc41442


Obviously, this is a fake URL but it's the concept of extracting the authCode that I am looking for. Thanks for your time!


Cheers!

Hi, you can create a screen with input parameter.

Just right click on screen to add input parameter.


Then you can access the screen like this:

https://yourweb.com/modulename/screenname.jsf?code=123

I'm using Java stack so it will have jsf extension, otherwise it could be aspx. 


Then in your logic you can access input parameters like a variable.

Hope it helps... 


I strongly suggest you took the free Outsystems online courses, it helps a lot... 

http://www.outsystems.com/learn/courses/15/developing-outsystems-web-applications/

Harlin Setiadarma wrote:

Hi, you can create a screen with input parameter.

Just right click on screen to add input parameter.


Then you can access the screen like this:

https://yourweb.com/modulename/screenname.jsf?code=123

I'm using Java stack so it will have jsf extension, otherwise it could be aspx. 


Then in your logic you can access input parameters like a variable.

Hope it helps... 


I strongly suggest you took the free Outsystems online courses, it helps a lot... 

http://www.outsystems.com/learn/courses/15/developing-outsystems-web-applications/


Thanks! I am definitely going to go through the courses.