Scott, I believe we are saying the same thing, but possibly interpreting David¹s question in a slightly different way:
> <In TBC forms to edit an instance, the button "show widgets for all matching > properties" somehow shows ALL my defined properties. > I would like to see only the properties with domains matching the types of my > instance (that are really the relevant properties for a given instance).> > I am interpreting the above as: > David is viewing or editing information about a resource. He is clicking on > the button"show widgets for all matching properties" and is seeing in the > Resource Editor widgets that he thinks he should not see. He wants to see only > widgets for the relevant properties. > To which I am saying that yes, this is exactly how it should work. If you see > properties that ³don¹t belong², you should re-eximine the model. > > Scott is interpreting this as: > David is able to add a widget for a property that ³doesn¹t belong² by dragging > and dropping it onto the Resource Editor or by using ³add widget for property² > menu item in Resource Editor or by building a custom form for the resource's > class and adding in the custom form a widget for the property that ³shouldn¹t > be there". He doesn¹t want this to be possible. > To which Scott is saying that TBC will not prevent a user from adding any > property widget he wants because in RDF one could use any property even if it > is not in the domain of the resource¹s class (or its parent class or declared > as part of a restriction). Irene From: Scott Henninger <[email protected]> Organization: TopQuadrant, Inc. Reply-To: <[email protected]> Date: Tuesday, March 24, 2015 at 4:10 PM To: <[email protected]> Subject: Re: [topbraid-users] Re: [TBC] : how to show only properties with matching domains in forms ? On 3/24/2015 2:50 PM, Irene Polikoff wrote: > > I think though that when this option is selected, the Form should contain > widgets only for properties a given Resource is in the domain of, or > properties that are restricted at the type of the resource. > Irene, I think you are assuming that a form has been defined. Regardless of whether a form is defined or not the only difference selecting the "Show widgets for all matching properties" will make is that only properties with values will be displayed. I.e. properties whose domain includes the selected resource, but do not have values, will not be displayed. To test this, open the kennedys model. Open an instance of Person. By default a form is defined that displays a set list of properties. Some of these properties have no values. Now choose "Show widgets for all matching properties". Only the properties with values is shown. > > When it is unselected the Form should show only widgets that have values in > them. > No, it shows all property widgets that has the resources class defined in the property's domain. Try this on a model that does not have forms defined such as TopBraid/Schema.org/faocountries.ttl -- Scott > > > > > If you are seeing more than what you expect, you may need to check your model. > It may be that these properties are defined for a superclass and this is why > they are showing. > > > > > From: Scott Henninger <[email protected]> > Organization: TopQuadrant, Inc. > Reply-To: <[email protected]> > Date: Tuesday, March 24, 2015 at 3:35 PM > To: <[email protected]> > Subject: Re: [topbraid-users] Re: [TBC] : how to show only properties with > matching domains in forms ? > > > > > > > Hello David; Yes it is the case that "show widgets for all matching > properties" is designed to show all defined properties for a resource. In > RDF, it is perfectly valid to have any property defined for a resource, > regardless of the property's domain definitions. > > Will the Relevant Properties tab in the middle-bottom row do what you want? > See Composer Help > User Interface Overview > Relevant Properties View > > -- Scott > > > > On 3/24/2015 2:25 PM, David Rouquet wrote: > > >> >> What ? Nobody ? >> >> This forum has never let me down before. >> Let me know if I need to clarify my question ! >> >> Best regards >> -- >> David >> >> >> >> >> >> >> >> >> >> Le lundi 23 mars 2015 12:10:54 UTC+1, David Rouquet a écrit : >>> >>> Hi, >>> >>> (Of course thanks for TopQuadrant products and this very active group :-) >>> >>> In TBC forms to edit an instance, the button "show widgets for all matching >>> properties" somehow shows ALL my defined properties. >>> I would like to see only the properties with domains matching the types of >>> my instance (that are really the relevant properties for a given instance). >>> >>> Is it possible without a custom forms that would require to select relevant >>> properties for each instance type (fastidious...). >>> >>> Best regards >>> -- >>> David >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Group >> "TopBraid Suite Users", the topics of which include Enterprise Vocabulary >> Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid >> Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. >> 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]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > You received this message because you are subscribed to the Google Group > "TopBraid Suite Users", the topics of which include Enterprise Vocabulary > Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, > TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. > 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]. > For more options, visit https://groups.google.com/d/optout. > -- > You received this message because you are subscribed to the Google Group > "TopBraid Suite Users", the topics of which include Enterprise Vocabulary > Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, > TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. > 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]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. 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]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. 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]. For more options, visit https://groups.google.com/d/optout.
