Utilities
-
how add Templates?
This not work in custom widget<html>
<iframe id="forecast_embed" type="text/html" frameborder="0" height="245" width="100%" src="http://forecast.io/embed/#lat=42.3583&lon=-71.0603&name=Downtown Boston&color=#00aaff&font=Georgia&units=uk"> </iframe>may be not load from iframe ?
</html>
-
@Werwolfx which version are you using? can you post version details? In recent MyController this will be available in
Status >> About
.In
mycontroller/logs/mycontroller.log
, you should see2016-05-10 13:54:59,947 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:147] Application information: [Version:0.0.3.Alpha2-SNAPSHOT, Database version:1.02.06 - 2016 May 10] 2016-05-10 13:55:02,285 INFO [main] [org.mycontroller.standalone.scripts.McScriptEngineUtils:105] Script engines list: ************ Available script engines *************** EngineName :httl EngineVersion :0.0.3.Alpha2-SNAPSHOT LanguageName :httl LanguageVersion :1.0.0 Extensions :[httl] Alias :[httl] ***************************************************** EngineName :Oracle Nashorn EngineVersion :1.8.0_65 LanguageName :ECMAScript LanguageVersion :ECMA - 262 Edition 5.1 Extensions :[js] Alias :[nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript] ***************************************************** 2016-05-10 13:55:09,874 INFO [main] [org.mycontroller.standalone.StartApp:206] TJWS server started successfully, HTTPS Enabled?:true, HTTP(S) Port: [8443]
-
MyController
Version
0.0.3.Alpha2-SNAPSHOT
Database version
1.02.06 - 2016 May 10
Git commit:branch
77b3dafa436fbf5a5a64a705607b874a5c0c35f0:development
Built on
2016-05-10T14:25:01+0530
Build JDK
1.8.0_77
Build tool
Apache Maven 3.3.3
Java Virtual Machine Specification
VM Vendor
Oracle Corporation
VM Name
Java HotSpot(TM) Client VM
VM Version
1.8.0-b132
Java Home
/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt/jre
Operating System
Operating System
Linux
Architecture
arm
Version/Kernel
4.1.13-v7+
Location
/home/mycontroller -
@Werwolfx Can you try upgrade java? Sometimes it helps.
Can you try without script selection while adding in dashboard? It might work. -
@Werwolfx said:
Git commit:branch
77b3dafa436fbf5a5a64a705607b874a5c0c35f0:developmentHey,
Did you ever get this iframe to work?
-
@hoegaarden_bier Yes, iframe supported, you can see http://demo.mycontroller.org/#/utilities/templates/addedit/Zm9yZWNhc3QuaW8tdGVtcGxhdGUuaHRtbA==
forecast.io used here ^You should have latest version of mycontroller.
-
@jkandasa
Thx,... got it to work