Copied to clipboard

Flag this post as spam?

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


  • Yan 36 posts 56 karma points
    Nov 17, 2010 @ 16:39
    Yan
    0

    can I use contour GetRecord($recordId) in xlst with recordId saved in session?

    <xsl:variable name="recordId" select="umbraco.library:Session('recordSessionName')" />
    <xsl:for-each select="umbraco.contour:GetRecord($recordId)/uformrecord/fields/child::*">

    If give me error message:
    System.FormatException: Unrecognized Guid format.
    at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
    at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
    at System.Guid..ctor(String g)
    at Umbraco.Forms.Library.GetRecord(String recordId)

  • Ansar 181 posts 291 karma points
    Mar 29, 2011 @ 11:34
    Ansar
    0

    Hi,

    Is there any solution for this?

    I want to get the id from query string and pass it to umbraco.contour:GetRecord

    Regards,
    Ansar

  • Ansar 181 posts 291 karma points
    Mar 29, 2011 @ 13:31
    Ansar
    0

    its working fine now ;) not sure what caused the error.. 

  • Mahmood 28 posts 48 karma points
    Jun 17, 2011 @ 09:25
    Mahmood
    0

    hi Anz ,

    can u please tell me how did u get the recordId using query string?

Please Sign in or register to post replies

Write your reply to:

Draft