Hello, Arthur; Currently the best way to get UISPIN content to appear
in Ensemble is through a SPARQLMotion script that opens a window to
display the HTML generated by UISPIN. We are currently looking into
ways of embedding UISPIN in Ensemble and I'm sure we'll have more to
say on this soon.
For now, try the following:
- Create a SPARQLMotion script that imports your model
- Get the HTML generated for a UISPIN instance with ui:getUIHTML.
For example if you have an instance named xyz:DataFor2008-04-18, which
is an instance of a class with an instanceView, then bind ?text to
it's output:
LET (?text := ui:getUIHTML(xyz:DataFor2008-04-18))
- Pass ?text to a ReturnText module with the mime type set to "text/
html"
- Attach the script to a SPIN function so it can be called as a
script from Ensemble (see TBS FAQ#2,
http://www.topquadrant.com/products/TBS_FAQ.html#TBS2)
When chosen from a script cog in Ensemble, the script will return the
HTML to Ensemble and open a browser window with the contents.
Let us know how that works and/or if there are further questions.
We'll keep you appraised on embedding UISPIN in Ensemble.
-- Scott