Re: [topbraid-users] dash:showProgress in modify action
Ahh yes, i was on 7.7 sorry! thanks for the pointer. regards, Ad Op maandag 18 maart 2024 om 10:51:29 UTC+1 schreef Holger Knublauch: > Hi Ad, > > from the change history it seems that IO.setProgress was introduced with > version 7.8. Maybe you are on an older version? > > The documentation link you have mentioned is for the "latest" version, > which is currently 7.8 > > Holger > > > On 18 Mar 2024, at 8:35 am, Ad Reuijl wrote: > > Hi Holger, > > Thank you for the quick response, > I have a quite large javascript script i'm running to dynamically create > sparql query's. it works like a total charm and am really impressed with > this combination of javascript wrapped in shacl (genious!). > > Now i want to enable the progress bar like so > > > > > > it gives this error: > > > > And i also dont see it in the list of methods: > > > > So my assumption was that it may have been removed as functionality. > > > Happy to hear from you, thanks in advance! > > Regards, Ad > Op vrijdag 15 maart 2024 om 16:47:10 UTC+1 schreef Holger Knublauch: > >> Should work but it is hard to say what is wrong without details of what >> you tried and what the exact error was. Minimal example? >> >> Holger >> >> >> Sent from my iPhone >> >> On 15.03.2024, at 15:40, Ad Reuijl wrote: >> >> Hi Holger, >> >> >> I really wanted to use this functionality: >> https://archive.topquadrant.com/doc/latest/scripting/actions.html#reporting-progress >> >> but it appears to have been removed, is that correct? >> I get errors on the IO.SetProgress() function. also i cannot find it in >> the documentation of the api. >> >> Thanks in advance! >> regards, >> >> Ad Reuijl >> >> -- >> The topics of this mailing list include TopBraid EDG and related >> technologies such as SHACL. >> To post to this group, send email to topbrai...@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-user...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/topbraid-users/52bf0e4c-533d-455a-9d79-6de322360ef8n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/topbraid-users/52bf0e4c-533d-455a-9d79-6de322360ef8n%40googlegroups.com?utm_medium=email_source=footer> >> . >> >> > -- > The topics of this mailing list include TopBraid EDG and related > technologies such as SHACL. > To post to this group, send email to topbrai...@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-user...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/af1c344e-2831-4192-9ce8-d9f19e3dde70n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/af1c344e-2831-4192-9ce8-d9f19e3dde70n%40googlegroups.com?utm_medium=email_source=footer> > . > > > > -- 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/9ad2756b-d2e2-482c-8ba2-f2aa03f17ceen%40googlegroups.com.
Re: [topbraid-users] dash:showProgress in modify action
Hi Holger, Thank you for the quick response, I have a quite large javascript script i'm running to dynamically create sparql query's. it works like a total charm and am really impressed with this combination of javascript wrapped in shacl (genious!). Now i want to enable the progress bar like so [image: IO.setProgress.PNG] it gives this error: [image: IO.error.PNG] And i also dont see it in the list of methods: [image: IO.setProgressNotShowingAsMethod.PNG] So my assumption was that it may have been removed as functionality. Happy to hear from you, thanks in advance! Regards, Ad Op vrijdag 15 maart 2024 om 16:47:10 UTC+1 schreef Holger Knublauch: > Should work but it is hard to say what is wrong without details of what > you tried and what the exact error was. Minimal example? > > Holger > > > Sent from my iPhone > > On 15.03.2024, at 15:40, Ad Reuijl wrote: > > Hi Holger, > > > I really wanted to use this functionality: > https://archive.topquadrant.com/doc/latest/scripting/actions.html#reporting-progress > > but it appears to have been removed, is that correct? > I get errors on the IO.SetProgress() function. also i cannot find it in > the documentation of the api. > > Thanks in advance! > regards, > > Ad Reuijl > > -- > The topics of this mailing list include TopBraid EDG and related > technologies such as SHACL. > To post to this group, send email to topbrai...@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-user...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/52bf0e4c-533d-455a-9d79-6de322360ef8n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/52bf0e4c-533d-455a-9d79-6de322360ef8n%40googlegroups.com?utm_medium=email_source=footer> > . > > -- 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/af1c344e-2831-4192-9ce8-d9f19e3dde70n%40googlegroups.com.
[topbraid-users] dash:showProgress in modify action
Hi Holger, I really wanted to use this functionality: https://archive.topquadrant.com/doc/latest/scripting/actions.html#reporting-progress but it appears to have been removed, is that correct? I get errors on the IO.SetProgress() function. also i cannot find it in the documentation of the api. Thanks in advance! regards, Ad Reuijl -- 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/52bf0e4c-533d-455a-9d79-6de322360ef8n%40googlegroups.com.
Re: [topbraid-users] Icons are not coloring consistantly in tree
Hi Holger, Just wanted to let you know that i tried this within the concepts tree, and the same error occured, it only worked within the form tab and not on the tree. Could it have to do with the use of the test version of topbraid edg studio? regards, Ad Op maandag 5 februari 2024 om 10:11:57 UTC+1 schreef Holger Knublauch: > Hi Ad, > > thanks for the details. I now understand that the Classes tree does indeed > not use the custom icons. > We did the extra icon handling for the Taxonomy tree, but not yet for the > class tree. > > I have recorded a development ticket to try to address this in the future. > > Thanks for the report > Holger > > > On 2 Feb 2024, at 9:02 am, Ad Reuijl wrote: > > Hi Holger, > > Thanks for your fast reply :) > > I wrote this code: > > rdfs:Class sh:property werkwijzeFrontend:Asset-icon . > tosh:Class-classIcon sh:deactivated true . > > > > werkwijzeFrontend:Asset-icon > a sh:PropertyShape ; > sh:path werkwijzeFrontend:assetIcon ; > #sh:group werkwijzeFrontend:LabelsEnDefinitionPropertyGroup ; > #dash:hidden true ; > sh:deactivated false ; > dash:propertyRole dash:IconRole ; > sh:datatype xsd:anyURI ; > #sh:defaultValue > "https://cdn-icons-png.freepik.com/512/1458/1458528.png"^^xsd:anyURI > ; > #sh:defaultValue > "http://localhost:8083/tbl/lib/testimages/asset.png"^^xsd:anyURI > ; > sh:values [ > dash:js """ > focusNode.wisseltGegevensUit == true ? > 'http://localhost:8083/tbl/lib/testimages/asset.svg' : > null; // Fall back to default icon > """ ; > ] ; > sh:maxCount 1 ; > sh:name "asset icon" ; > . > > So it is working fine in in the form tab, only the tree doest apply the > same colors. > I haven't done anything else on the icon part. I'm only including other > ontologies i made, those all have their own uri's and don't mess with any > dash or sh properties. > I', using EDG 7.7.1 studio > > Regards, > Ad > > Op donderdag 1 februari 2024 om 10:18:14 UTC+1 schreef Holger Knublauch: > >> What is the complete definition (source code) of that resource, including >> the imported triples? >> >> And does it have a metaclass that would declare the dash:IconRole, i.e. >> does IconRole have any References? >> >> Holger >> >> >> On 31 Jan 2024, at 9:02 pm, Ad Reuijl wrote: >> >> Hi, >> >> I was wondering why the icons in the tree dont assume the same color, >> i did see that it is possible in the example found here: >> https://datashapes.org/propertyroles.html#IconRole >> >> Hope that anyone has an answer! thanks in advance! >> >> Regards, Ad >> >> -- >> The topics of this mailing list include TopBraid EDG and related >> technologies such as SHACL. >> To post to this group, send email to topbrai...@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-user...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/topbraid-users/501e2255-08c9-4fb2-bf70-2107237de037n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/topbraid-users/501e2255-08c9-4fb2-bf70-2107237de037n%40googlegroups.com?utm_medium=email_source=footer> >> . >> >> >> >> > -- > The topics of this mailing list include TopBraid EDG and related > technologies such as SHACL. > To post to this group, send email to topbrai...@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-user...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/5777d68f-e9eb-4bf5-b671-28682c8eb2edn%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/5777d68f-e9eb-4bf5-b671-28682c8eb2edn%40googlegroups.com?utm_medium=email_source=footer> > . > > > -- 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/0d1dec01-e944-4319-a5aa-5ee8d6364512n%40googlegroups.com.
Re: [topbraid-users] Icons are not coloring consistantly in tree
Hi Holger, Thanks for the support :) then it will solve itself in future versions of EDG regards, Ad Op maandag 5 februari 2024 om 10:11:57 UTC+1 schreef Holger Knublauch: > Hi Ad, > > thanks for the details. I now understand that the Classes tree does indeed > not use the custom icons. > We did the extra icon handling for the Taxonomy tree, but not yet for the > class tree. > > I have recorded a development ticket to try to address this in the future. > > Thanks for the report > Holger > > > On 2 Feb 2024, at 9:02 am, Ad Reuijl wrote: > > Hi Holger, > > Thanks for your fast reply :) > > I wrote this code: > > rdfs:Class sh:property werkwijzeFrontend:Asset-icon . > tosh:Class-classIcon sh:deactivated true . > > > > werkwijzeFrontend:Asset-icon > a sh:PropertyShape ; > sh:path werkwijzeFrontend:assetIcon ; > #sh:group werkwijzeFrontend:LabelsEnDefinitionPropertyGroup ; > #dash:hidden true ; > sh:deactivated false ; > dash:propertyRole dash:IconRole ; > sh:datatype xsd:anyURI ; > #sh:defaultValue > "https://cdn-icons-png.freepik.com/512/1458/1458528.png"^^xsd:anyURI > ; > #sh:defaultValue > "http://localhost:8083/tbl/lib/testimages/asset.png"^^xsd:anyURI > ; > sh:values [ > dash:js """ > focusNode.wisseltGegevensUit == true ? > 'http://localhost:8083/tbl/lib/testimages/asset.svg' : > null; // Fall back to default icon > """ ; > ] ; > sh:maxCount 1 ; > sh:name "asset icon" ; > . > > So it is working fine in in the form tab, only the tree doest apply the > same colors. > I haven't done anything else on the icon part. I'm only including other > ontologies i made, those all have their own uri's and don't mess with any > dash or sh properties. > I', using EDG 7.7.1 studio > > Regards, > Ad > > Op donderdag 1 februari 2024 om 10:18:14 UTC+1 schreef Holger Knublauch: > >> What is the complete definition (source code) of that resource, including >> the imported triples? >> >> And does it have a metaclass that would declare the dash:IconRole, i.e. >> does IconRole have any References? >> >> Holger >> >> >> On 31 Jan 2024, at 9:02 pm, Ad Reuijl wrote: >> >> Hi, >> >> I was wondering why the icons in the tree dont assume the same color, >> i did see that it is possible in the example found here: >> https://datashapes.org/propertyroles.html#IconRole >> >> Hope that anyone has an answer! thanks in advance! >> >> Regards, Ad >> >> -- >> The topics of this mailing list include TopBraid EDG and related >> technologies such as SHACL. >> To post to this group, send email to topbrai...@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-user...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/topbraid-users/501e2255-08c9-4fb2-bf70-2107237de037n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/topbraid-users/501e2255-08c9-4fb2-bf70-2107237de037n%40googlegroups.com?utm_medium=email_source=footer> >> . >> >> >> >> > -- > The topics of this mailing list include TopBraid EDG and related > technologies such as SHACL. > To post to this group, send email to topbrai...@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-user...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/5777d68f-e9eb-4bf5-b671-28682c8eb2edn%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/5777d68f-e9eb-4bf5-b671-28682c8eb2edn%40googlegroups.com?utm_medium=email_source=footer> > . > > > -- 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/8419e15c-9858-448e-997a-46e4149347ffn%40googlegroups.com.
Re: [topbraid-users] Icons are not coloring consistantly in tree
Hi Holger, Thanks for your fast reply :) I wrote this code: rdfs:Class sh:property werkwijzeFrontend:Asset-icon . tosh:Class-classIcon sh:deactivated true . werkwijzeFrontend:Asset-icon a sh:PropertyShape ; sh:path werkwijzeFrontend:assetIcon ; #sh:group werkwijzeFrontend:LabelsEnDefinitionPropertyGroup ; #dash:hidden true ; sh:deactivated false ; dash:propertyRole dash:IconRole ; sh:datatype xsd:anyURI ; #sh:defaultValue "https://cdn-icons-png.freepik.com/512/1458/1458528.png"^^xsd:anyURI ; #sh:defaultValue "http://localhost:8083/tbl/lib/testimages/asset.png"^^xsd:anyURI ; sh:values [ dash:js """ focusNode.wisseltGegevensUit == true ? 'http://localhost:8083/tbl/lib/testimages/asset.svg' : null; // Fall back to default icon """ ; ] ; sh:maxCount 1 ; sh:name "asset icon" ; . So it is working fine in in the form tab, only the tree doest apply the same colors. I haven't done anything else on the icon part. I'm only including other ontologies i made, those all have their own uri's and don't mess with any dash or sh properties. I', using EDG 7.7.1 studio Regards, Ad Op donderdag 1 februari 2024 om 10:18:14 UTC+1 schreef Holger Knublauch: > What is the complete definition (source code) of that resource, including > the imported triples? > > And does it have a metaclass that would declare the dash:IconRole, i.e. > does IconRole have any References? > > Holger > > > On 31 Jan 2024, at 9:02 pm, Ad Reuijl wrote: > > Hi, > > I was wondering why the icons in the tree dont assume the same color, > i did see that it is possible in the example found here: > https://datashapes.org/propertyroles.html#IconRole > > Hope that anyone has an answer! thanks in advance! > > Regards, Ad > > -- > The topics of this mailing list include TopBraid EDG and related > technologies such as SHACL. > To post to this group, send email to topbrai...@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-user...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/501e2255-08c9-4fb2-bf70-2107237de037n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/501e2255-08c9-4fb2-bf70-2107237de037n%40googlegroups.com?utm_medium=email_source=footer> > . > > > > -- 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/5777d68f-e9eb-4bf5-b671-28682c8eb2edn%40googlegroups.com.