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.
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.
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.
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
is working on a reply...