Copied to clipboard

Flag this post as spam?

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


  • Søren Lysdal 13 posts 75 karma points
    Dec 03, 2014 @ 11:16
    Søren Lysdal
    0

    Record data and page url in default values

    Hi,

    I need to attatch the page url to a form posted so it will list from which page its posted.

    In the documentation(contour) it lists that {record.umbracopageid} should get the current page id (Comes up blank, so doesn't work)

    Is there a way to get the page url instead of just the id? The current requests url would be fine.

    I'm using Umbraco 7.2.0-beta2

    With the latest Umbraco Forms (4.0WIP.4.0.0-Build.81)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Dec 03, 2014 @ 11:36
    Jan Skovgaard
    0

    Hi Søren

    Hmm, that might be a bug - Not sure but I think that the idea is that when you know the id you can use something like Umbraco.NiceUrl(record.umbracopageid) - Not quite sure about the syntax though since I have not had a chance to play with Umbraco Forms yet.

    But just so that you get the notion.

    So I think you should file it as a bug on the issue tracker

    /Jan

  • Søren Lysdal 13 posts 75 karma points
    Dec 04, 2014 @ 10:28
    Søren Lysdal
    0

    Now using version 83, {record.ip} and {record.umbracopageid} still comes up blank unfortunately.

    Would be great to have the url there, but even an Id would do.

  • Claushingebjerg 936 posts 2571 karma points
    Jan 08, 2015 @ 14:04
    Claushingebjerg
    0

    I need to do this as well (U7.1.6, Contour 3.0.21)

    {record.umbracopageid} works fine, but returns an ID (Doh), which is useless to the reciever.

    Umbraco.NiceUrl(record.umbracopageid) won't do the trick...

    Isn't there a shorthand tag to get the url??? it seems odd, since the url is listed in the Contour Dashboard...

    Im thinking like {record.umbracopageurl}

  • Claushingebjerg 936 posts 2571 karma points
    Jan 14, 2015 @ 08:27
    Claushingebjerg
    0

    I hate to up this thread, but seeing as Contour is a PRO package, could someone from HQ possibly answer this question?

  • Claushingebjerg 936 posts 2571 karma points
    Jan 19, 2015 @ 11:59
    Claushingebjerg
    0

    Anyone? The silence is worrying...

Please Sign in or register to post replies

Write your reply to:

Draft