Following up on this message. Was a version of a table ever introduced 
where you could edit/add new instances to it? This seems to be a helpful 
feature. The DetailsViewer/DetailsEditor can get pretty lengthy for a blank 
node and would be visually and user friendly if there was a way to put 
these into an editable table.

On Sunday, August 14, 2022 at 10:37:05 AM UTC-6 Holger Knublauch wrote:

> Hi Tim
>
> I believe I see what you mean. The dash:ValueTableViewer does NOT allow 
> you to add new instances because
>
> 1) It doesn't even show up unless there already is a value
> 2) It doesn't have a New button, not even in Edit mode.
>
> If I understand these issues correctly, I can file a dev ticket for myself 
> to try to fix this for 7.4.
> One potential fix would be to always make it visible in edit mode, and add 
> a Plus button.
> Another potential fix would be to just use the AutoComplete widget in edit 
> mode.
>
> Thanks,
> Holger
>
>
> On 12 Aug 2022, at 7:20 pm, Tim Smith <[email protected]> wrote:
>
> Hi,
>
> I often use dash:ValueTableViewer to provide a richer experience for the 
> user by bringing relevant details of the the objects to a single page vs 
> the user having to click into each instance as would be required using the 
> default list-like display.
>
> However, when using a shape like this example:
>
> pgont:Amalgamationable-composedOf_Table_view
>   a sh:PropertyShape ;
>   sh:path pgont:composedOf ;
>   dash:composite true ;
>   dash:viewer dash:ValueTableViewer ;
>   sh:deactivated false ;
>   sh:description "Things this instance is composed of or owns."@en ;
>   sh:group pgont:StructurePropertyGroup ;
>   sh:name "composed Of"@en ;
>   sh:node pgont:ComposedOfTableView ;
>   sh:nodeKind sh:IRI ;
>   sh:order "10"^^xsd:decimal ;
> .
>
> It becomes impossible for the user to add a new triple using the 
> composedOf property.  The ComposedOfTableView node shape does a great job 
> of displaying the components of the parent instance and specified details.  
> However, the user cannot add a new object as the child of the parent.  
>
> While making a dash:ValueTableEditor would be extremely useful, I 
> appreciate the complexity such an endeavor would entail given the range of 
> possible node shapes.  However, in my case, I only need the user to add a 
> single instance using the composedOf property, not fill-out a row in the 
> ValueTableViewer.
>
> Is there away to enable this interaction?
>
> If I didn't want to use dash:ValueTableEditor, I would use a simple shape 
> like:
>
> pgont:Amalgamationable-composedOf
>   a sh:PropertyShape ;
>   sh:path pgont:composedOf ;
>   sh:class pgont:Amalgamationable ;
>   sh:deactivated true ;
>   sh:description "Things that this object is composed of.  e.g. Logical 
> Systems, Attributes, Constraints, Physical Systems, etc..." ;
>   sh:name "composed Of" ;
> .
>
> However, the two shapes cannot co-exist on the same class or EDG will get 
> confused (you'll note that this one is deactivated).
>
> At the moment, I cannot find a way to show my users the details they need 
> while at the same time, enabling them to add more instances to the parent 
> using the pgont:composedOf property.  (Well, short of creating another node 
> shape for the same class and having the user flip between the the views)
>
> Thank you for your thoughts,
>
> Tim
>
> -- 
> 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/73c708d1-078a-4e21-ac7c-b4cdb247d64bn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/73c708d1-078a-4e21-ac7c-b4cdb247d64bn%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/c2f324e8-e81c-4cbe-9db4-82b4a458c1cdn%40googlegroups.com.

Reply via email to