Hi all,
I'm trying to customize an EVN form with data that comes from a Spin
template. Here is a simplified example of a template's body (
hw-spin:ExactCodesForContentAssetTemplate)
SELECT ?exact_code
WHERE {
?asset content_asset_schema:level_1 ?concept .
?concept hwcv_sc:exact_code ?exact_code .
}
ORDER BY (?exact_code)
*(?asset is a spin:constraint - arg)* - This is a very basic query in our
system and it runs fast from the sparql endpoint or Composer
>From within a class's ui:instanceView definition, I've added the following:
<swa:ObjectsEnum arg:label="Codes">
<ui:call arg:asset="{= ?this }"
ui:template="hw-spin:ExactCodesForContentAssetTemplate">
<swa:ResultSetObjectsView arg:label="Exact Codes" arg:resultSet="{= ?rs
}"/>
</ui:call>
*...*
</swa:ObjectsEnum>
I actually have three such calls where each call is a rather simple
template that utilizes the same argument and should execute very quickly.
I'm pretty certain that although my aim is good the whole business with
swa:ResultSetObjectsView is not right....
Although this does seem to work, it is putting a huge load on my dev
instance. Something is spinning, even before I get to the point of
rendering a form for the instance in question. When this code is in the
form, even bringing up the taxonomy is terrible, when its out everything
zips along. So something is clearly wrong.
Thanks to anyone who has read this far!
-Adam
--
You received this message because you are subscribed to the Google Group
"TopBraid Suite Users", the topics of which include the TopBraid Suite family
of products and its base technologies such as SPARQLMotion, SPARQL Web Pages
and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google Groups
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.