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 <[email protected]> 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 <[email protected]> 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 [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].
>> 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&utm_source=footer>
>> .
>> <Capture.PNG>
>>
>>
>>
> -- 
> The topics of this mailing list include TopBraid EDG and related 
> technologies such as SHACL.
> 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].
>
> 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&utm_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 [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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/8419e15c-9858-448e-997a-46e4149347ffn%40googlegroups.com.

Reply via email to