Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Apps
-
HD-Enabler:Wirecloud
Description
Good evening,I am a developer of startup Fiware , I have this problem:
“MASHUP PLATFORM NOT FOUND IN WIRECLOUD WIDGET WITH TWO HTML FILES”
The widget wirecloud doesn't load the API Mashup Platform when these are recalled from a html file which it is different from the html file specified in the widget configuration (config.xml).How do I specify a second html file in the widget configuration ??
In my widget:
The file specified in the widget configuration is index.html.Index.html calls a Javascript function that uses the MashupPlatform.wiring.pushEvent, and it's all ok!When the file index.html calls a second htm file (add.html) and this callsa Javascript function that uses the MashupPlatform.wiring.pushEvent,the Javascript console gives me this error: Uncaught ReferenceError: MashupPlatform is not defined.
I think this error could be generated because in config.xml I specified only index.html and not add.html. as source. I didn’t find actually in wirecloud guide how to configure a widget with more than one html, neither a widget example with more that one html
How can I fix this ?
Best regards,
Antonio D'Antoni
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain (Fiware-tech-help@lists.fiware.org) instead of the old one.
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: "antonio.dantoni1993@libero.it" <antonio.dantoni1993@libero.it>]
The issue has been emailed:
HELP-6099) [Fiware-tech-help] MASHUP PLATFORM NOT FOUND IN WIRECLOUD WIDGET WITH TWO HTML FILES *Dear Antonio,
any argument for adding support for more than one html files? I will close this ticket in the following days without adding such feature if you don't provide us any argument.
Best regards,
Álvaro