-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display name vocabulary term #20
Comments
Hi Alex, for API doumentation you can use Core.Description and Core.LongDescription. Data visualization is a trickier topic, and depending on the concrete use cases the demand for annotations quickly diverges. Have a look at the SAP vocabularies SAP Common (which defines "Label", "QuickInfo", and much more) and SAP UI (which defines "Chart", "KPI", and also much more 😄) to see how complex this can quickly get, and whether you can find much beyond "Label" that could be standardized across multiple companies and software products. Thanks |
Thanks, Ralf. I know very well how complex this can get. We also have our own vocabularies and even extended protocols defined on top of OData. Our vocabulary terms vary from primitive to complex types, their values can be static or resolved dynamically from the payload at run-time. |
This comment has been minimized.
This comment has been minimized.
Yes, Common.Label and UI.FieldGroup were among the first terms we added. Yet even grouping properties isn't enough: just one grouping level, or subgroups? Just grid layout, or more closely grouped properties with group-specific arrangement? And so on. That leaves the "label" / "display name" / "title" as the only candidate for a standard term... |
Thanks again. It may be possible to define a vocabulary term that would support both: flat and hierarchical property groups, it doesn't have to be as primitive. Some of our products actually do have to integrate with SAP. It would be nice if the client could use a consistent set of vocabulary terms to build its representation regardless of what service it connects to. After all, the majority if not all UI clients have a very common set of components for data representation: forms, tables / grids, property groups, info maps, etc. So I thought it could be worth to at least give it a try starting with something small like display name / label and go from there. I feel I am steering into a philosophical type of discussion here... 😊
Anyways, it looks like what you are saying is that it is very hard if not impossible to define a common set of vocabulary terms for display purposes because the requirements across organizations and products are vastly different. Am I interpreting your answer correctly?
Cheers,
Alex
…________________________________
From: Ralf Handl <notifications@github.com>
Sent: Tuesday, September 18, 2018 11:09 AM
To: oasis-tcs/odata-vocabularies
Cc: Alex Korygin; Author
Subject: Re: [oasis-tcs/odata-vocabularies] Display name vocabulary term (#20)
Yes, Common.Label and UI.FieldGroup were among the first terms we added. Yet even grouping properties isn't enough: just one grouping level, or subgroups? Just grid layout, or more closely grouped properties with group-specific arrangement? And so on.
That leaves the "label" / "display name" / "title" as the only candidate for a standard term...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#20 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ANbNQodbjWcIAem8OmP0Cdj9iIY8GZLYks5ucRq0gaJpZM4Wsept>.
|
Hi Alex, Yes, it would be a hard journey to get to an agreed and useful display/UI vocabulary. And it would be useful for others if we invest the time. After all we managed to get a standard Capabilities vocabulary going. As you have your display vocabulary and have access to SAP's UI vocabulary you could go ahead and try to extract a common subset. If that works out, we can discuss on how to get to a standard vocabulary. Would that work for you? Thanks in advance |
Hi Ralf,
Sure, I can take a pass at it. It’s timely actually because we were planning the next sprint today and I added a story for myself. 😊 I’ll be back with the list.
Thanks!
Alex
On Sep 19, 2018, at 11:46, Ralf Handl <notifications@github.com<mailto:notifications@github.com>> wrote:
Hi Alex,
Yes, it would be a hard journey to get to an agreed and useful display/UI vocabulary. And it would be useful for others if we invest the time. After all we managed to get a standard Capabilities vocabulary going.
As you have your display vocabulary and have access to SAP's UI vocabulary<https://wiki.scn.sap.com/wiki/display/EmTech/OData+4.0+Vocabularies+-+SAP+UI> you could go ahead and try to extract a common subset. If that works out, we can discuss on how to get to a standard vocabulary.
Would that work for you?
Thanks in advance
Ralf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#20 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ANbNQtA4nuYF9Y0op0YOAcJdgPfjE_W-ks5ucmbhgaJpZM4Wsept>.
|
Hi Ralf,
Here is the first pass. Please let me know if you have questions.
Thanks!
Alex
Common vocabulary (com.sap.vocabularies.Common.v1)
* Label and Heading - these two seem to be interchangeable, no? Also, do we need a more generic term such as DisplayName that can be added to other schema elements such as types?
* Text - not clear what it is for exactly, need a clarification on the following statement: "Value MUST be a dynamic expression when used as metadata annotation".
* ValueList - a very common concept. However, our case is a bit more complicated because our value lists are often hierarchical. That means the selection made in a parent list determines available values in its children (descendants). It also implies there are declarative dependencies between value list properties.
We also have Title vocabulary term for the representation of a single OData resource instance on a graphical UI such as info map. Its value is the path to a property that provides a value that must be displayed on a graphical object, i.e. order number, inventory tag, document name, etc.
UI vocabulary (com.sap.vocabularies.UI.v1)
* HeaderInfo - it appears that at least some of the information specified in this annotation may come from other sources. For example, a common DisplayName annotation can be used in place of TypeName. The TypeNamePlural may come from DisplayName annotation placed on the corresponding resource set (collection). Description may come from Core.Description annotation. I like the concept of image URLs but I also think it's very much possible that the instance's value could be a property path, not just hard-coded URL string.
* FieldGroup - I think we already discussed the potential need for supporting hierarchical property groups.
* MultiLineText
* Hidden
…________________________________
From: Ralf Handl <notifications@github.com>
Sent: Wednesday, September 19, 2018 10:46 AM
To: oasis-tcs/odata-vocabularies
Cc: Alex Korygin; Author
Subject: Re: [oasis-tcs/odata-vocabularies] Display name vocabulary term (#20)
Hi Alex,
Yes, it would be a hard journey to get to an agreed and useful display/UI vocabulary. And it would be useful for others if we invest the time. After all we managed to get a standard Capabilities vocabulary going.
As you have your display vocabulary and have access to SAP's UI vocabulary<https://wiki.scn.sap.com/wiki/display/EmTech/OData+4.0+Vocabularies+-+SAP+UI> you could go ahead and try to extract a common subset. If that works out, we can discuss on how to get to a standard vocabulary.
Would that work for you?
Thanks in advance
Ralf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#20 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ANbNQtA4nuYF9Y0op0YOAcJdgPfjE_W-ks5ucmbhgaJpZM4Wsept>.
|
Hi Alex, That seems to be a good starting point. Below some explanations on why we did what we did. Looking forward to your comments Remarks
|
Hi Ralf,
Thanks! Alex |
Hi Ralf, Have there been any progress on the display vocabulary? Is there anything else I can help with to get this thing off the ground? Thanks, Alex |
Hi Alex, Sorry, we are currently busy with finalizing OData Version 4.01, so no progress on this topic. Thanks |
Hello,
Are there any plans to define a standard vocabulary term for adding display name annotations to CSDL schema elements, such as properties, parameters, etc.? This seems to be a common issue OData APIs often have to address.
Thanks,
Alex Korygin
The text was updated successfully, but these errors were encountered: