Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nainesh Mehta 1 post 21 karma points
    Jan 09, 2014 @ 12:08
    Nainesh Mehta
    0

    Get document URL with umbracoUrlAlias issue

    I am using Umbraco 7 and have some functionality whereby I generate a random umbracoURLAlias for a client.

    This is done inside the ContentService.Saving handler.

    What I need to do is before I save the document, I need to access the document URL (with the alias) in order to build a link that will be displayed on the form.

    I know that you can use umbraco.library.NiceUrl() to get the NiceURL, but I need the URL with the Alias.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies