Hi all,
I have some code running through a model that executes before the page
loads (the model handles some basic setup functions, etc.)
In the code of that model, I want to get the URL of the page being
called. I don't want to use CGI variables, so I want to use
GetPageContext().GetRequest().GetRequestUrl(). But I am getting errors
when I try to call that value within the component.
I am pretty sure that this is because this value is generated from the
request scope, which may not be available yet because the page hasn't
loaded. So is there a way that I can get this value from within the
model?
Thanks in advance!
Gary