On 13/06/2020 22:05, MSV wrote:
hi,
i would like to clear the temp graph as part of swp. is there a way
to do it apart from running the delete command manually?
do we have any inbuilt service to clear the temp graphs?
I don't think we have something built-in, but it would be something like
<ui:setContext ui:queryGraph="{= ui:tempGraph }">
<ui:update ui:updateQuery="{! DELETE WHERE { ?s ?p ?o } }" />
</ui:setContext>
which you could then turn into your own helper SWP element. Or just use
a different ui:tempGraph for each task, e.g. ui:tempGraph1 also works.
And i would like to implement this only when running in a Production
Instance( not in dev or qa).
so do we have any environment/system variable which tells what server
the swp is running on?
Nothing comes to my mind other than setting a flag somewhere that you
could query. Are there any triples that distinguish those environments
on your end? Otherwise, invent some marker that only exists in your
"prod" instance?
Holger
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/121bbdc2-deab-44b1-ba5f-dc1900e68267o%40googlegroups.com
<https://groups.google.com/d/msgid/topbraid-users/121bbdc2-deab-44b1-ba5f-dc1900e68267o%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/66976203-5f0e-560b-ce72-b50ca02cb62b%40topquadrant.com.