Hello Holger,

I am looking into BatchActions and only seemed to find a snippet in the 
documentation where it says it is the similar to 
dash:ModifyActions/dash:ExploreActions 
(https://archive.topquadrant.com/doc/7.8/scripting/actions.html?highlight=batchaction).
 
I have a dash:ModifyActions instance that works, but tried to implement a 
similar case for dash:BatchAction to see if I can essentially take the 
action from dash:ModifyActions and apply it to multiple instances. However, 
I don't seem to even find it populating under the Batch Actions Menu. I am 
trying to test it out in EDG Studio version 7.8. Is there something I am 
missing with how to implement??

Here is an example of the script:

ex:Concept
  a owl:Class ;
  a sh:NodeShape ;
  dash:resourceAction exsh:CategoryBatchAction ;
...

exsh:CategoryBatchAction
  a dash:BatchAction ;
  dash:actionGroup exsh:CategoryActionGroup ;
  dash:actionIconClass "fas fa-plus" ;
  dash:canWrite true ;
  dash:js """
          focusNode.add(graph.node({qname: "ex:category"}), 
graph.node({qname: "ex_graph:_123"}))""" ;
  rdfs:comment "Add `example category to the concept" ;
  rdfs:label "Example Category Batch Action" ;
  sh:order 0 ;
...

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to topbraid-users@googlegroups.com
--- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/ba6bec74-cc10-4e9f-8fa5-8bb87aca61d9n%40googlegroups.com.

Reply via email to