Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Here's an odd one. We just upgraded from Windchill 11.0 to 12.1 and one of the custom reports is not working. After some investigating, it appears that the report only works using the default XSL file "templates\reports\xslfo.xsl" for the custom URL. Changing the name to anything else results in a report not loading correctly. Anyone know what is causing this? I currently have a support ticket open, but progress seems to be very slow.
Solved! Go to Solution.
Finally got this sorted out. In case anyone has this in the future here is how to fix it.
It appears that the properties didn't exist in the Windchill 11 install, but for some reason exist in Windchill 12. To create additional reports tech support gave me the following xconf command to run. Just replace <custom filename> with the name of the file you wish to use.
xconfmanager -s wt.services/svc/default/wt.util.xml.xslt.extn.ExtensionFunctionDefinitionDelegate/<custom filename>.xsl/java.lang.Object/0=com.ptc.windchill.xsl.extn.ExtensionFunctionDefinitionsReportTemplate/duplicate -t codebase\service.properties -p
Hi @Aaronm87 \
What is the another name? there is a XSL file and if you change the name, there needs to be the correct named file.
So if you have upgraded system, you should have copied the custom files from source system.
PetrH
Literally any other name will no work. If I make a copy of the xslfo.xsl file and rename it to xslfo1.xsl and change the XSL URL, I receive an error and the PDF does not generate. The files were copied over from the source system.
Finally got this sorted out. In case anyone has this in the future here is how to fix it.
It appears that the properties didn't exist in the Windchill 11 install, but for some reason exist in Windchill 12. To create additional reports tech support gave me the following xconf command to run. Just replace <custom filename> with the name of the file you wish to use.
xconfmanager -s wt.services/svc/default/wt.util.xml.xslt.extn.ExtensionFunctionDefinitionDelegate/<custom filename>.xsl/java.lang.Object/0=com.ptc.windchill.xsl.extn.ExtensionFunctionDefinitionsReportTemplate/duplicate -t codebase\service.properties -p