publicview: "sstgraphics not defined" error
-
Hello mango guys,
when use a public view of dashboard http://host:8080/public_view.htm?viewId=1
if i use dynamic graphics, appears an error "sstgraphics not defined".Searching for this error, cant find a solution.
how can solve this?
regards.
-
Do you have the sstGraphics module installed?
Also under the general settings under "Chart API" there is an option to "Allow anonymous access to chart API". You might try that, though it's unclear whether this is for old or new charting functionality.
-
I'm experiencing this issue too - pakeolflako did you manage to solve it??
I tried jeremyh's suggestion - no joy...
-
Hi Darragh,
I'm going to have to look at why this was done, but it appears this bug was purposeful at some point or another. You can get rid of the 'sstGraphics is not defined' error by uncommenting lines 37 and 38 of Mango/web/modules/graphicalViews/web/publicView.jsp Specifically, change
<%-- <c:forEach items="<%= Common.applicationScripts %>" var="modScript"> --%>
<%-- <tag:versionedJavascript src="/${modScript}" /></c:forEach> --%>to
<c:forEach items="<%= Common.applicationScripts %>" var="modScript">
<tag:versionedJavascript src="/${modScript}" /></c:forEach>You may also have to delete the contents of your Mango/work directory.
-
Many thanks for that Phil - seems to be resoved now :)
And apols for slow response - I thought the forum would prompt me when someone replied - don't wish to be rude!
D
-
Here are some tips on how to set up your account so you get email notifications: http://infiniteautomation.com/forum/topic/1830/welcome-to-our-new-forum