Reputation: 340
What is the simpliest way to determine the URL of the current component?
What I need to do is take the current URL and change the last part to be a different component, which I am storing in a URL definition. This new URL will be sent thru email to another OPRID.
But currently am unable to determine the current URL.
Thanks
Upvotes: 0
Views: 2839
Reputation: 171
You might be better building the URL using one of the Generate Functions:
Using something like GenerateComponentPortalURL might be better than sub-stringing the different parts together.
Duncan
Edit: Also strCurrUrl gives you the current URL if you can insert some JavaScript
Upvotes: 2