Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

Get current URL

How do i get the current URL location in XML config,

for example: {/root/System/StoreUrl}

 

Please let me know alternative to storeurl

asked Aug 3, 2016 in MultiStore by Roopasoft (110 points)

1 Answer

0 votes

there is PageName and FullPageName in the runtime xml

<root>
<System>
        <StoreUrl>http://website.com/</StoreUrl>
        <PageName>page.aspx</PageName>
        <FullPageName>/page.aspx</FullPageName>
    </System>
</root>

You could select FullPageName for ' /page.aspx'

Also, you could concat  StoreUrl with PageName to build the fully qualified url

 

answered Aug 8, 2016 by Mden (310 points)
...