Copied to clipboard

Flag this post as spam?

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


  • Phil Crowe 192 posts 256 karma points
    Apr 12, 2011 @ 11:25
    Phil Crowe
    0

    has 'getprevalues' been removed in umbraco 4.7?

    I wanted to get all the prevalues i had set for a custom datatype. however when i try the following:
    <xsl:value-of select="umbraco.library:GetPrevalues(1215)"/>

    i get a '
    System.Xml.Xsl.XslTransformException: Extension object 'urn:umbraco.library' does not contain a matching 'GetPrevalues' method that has 1 parameter(s)' 

    error. I got the id by looking for the datatype in the umbracoNode table. is this right? theres no id for in the datatypes section of the cms.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 12, 2011 @ 17:02
    Jan Skovgaard
    0

    Hi Phil

    Does it appear on the list of available extensions if you log in to Umbraco and go to the "Developer" section and open an existing XSLT file and choose the "insert value-of" icon, next to the blue save icon and then choose "Get extension" from the dialogue that appears. If you choose the umbraco.library does it then exist in this list?

    I'm not on a machine with a 4.7 installed so I'm unfortunately not able to check this myself.

    Also have you made an upgrade or is this a clean 4.7 install?

    Are you sure this is the only extension that is failing? If not maybe check the xsltExtensions.config to see if the umbraco.library has been properly referenced.

    Hope this helps.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft