Copied to clipboard

Flag this post as spam?

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


  • Guy Pucill 23 posts 73 karma points
    Apr 28, 2012 @ 08:49
    Guy Pucill
    0

    How to upgrade Umbraco that has Contour?

    I have just upgraded to Umbraco v 4.7.2 (Assembly version: 1.0.4500.21031).

    What do i need to do to get

  • Guy Pucill 23 posts 73 karma points
    Apr 28, 2012 @ 08:55
    Guy Pucill
    0

    I need to upgrade to Umbraco v 4.7.2. Which procedure do i need to follow if i have the Contour package installed?

  • Guy Pucill 23 posts 73 karma points
    Apr 28, 2012 @ 09:26
    Guy Pucill
    0

    I have now got everything working in backoffice. I can create new forms and data sources and front-end forms are sending entries. All my original forms are still working and my data is still there.

    My only problem is that i get an "Error parsing XSLT file:".

    My XSLT uses the Contour xslt extension:

    umbraco.contour:GetRecordsFromForm

    This is used to parse data from the Contour XML and into a HTML table that i used front-end to display user entries.

    It was working before the upgrade.

  • Guy Pucill 23 posts 73 karma points
    Apr 28, 2012 @ 09:44
    Guy Pucill
    0

    I tried to output the raw XML

    <textarea><xsl:copy-of select="umbraco.contour:GetRecordsFromForm('3efa868e-39f0-4413-9958-464be958a84c')"/>textarea>

    But could not save the XSLT file because of an error.

    I saw that

    xmlns:umbraco.contour="urn:umbraco.contour"

    was missing in the header, so i wrote it into my XSLT file.

    Then i got: 

    Cannot find a script or an extension object associated with namespace 'urn:umbraco.contour'.
  • Guy Pucill 23 posts 73 karma points
    Apr 28, 2012 @ 10:09
    Guy Pucill
    0

    Problem fixed.

    Just needed to add

     <ext assembly="Umbraco.Forms.Core" type="Umbraco.Forms.Library" alias="umbraco.contour"></ext>

    to the xsltExtensions.config file.

    When creating a new XSLT file now, the correct xmlns namespace will be added, at the top of the XSLT file automatically.

     

Please Sign in or register to post replies

Write your reply to:

Draft