DITA profiled content
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
DITA profiled content
Hello,
We are using Web Author version 26.1.
We have some questions about the profiled content display.
We have a DITA topic open in a DITA Map context, in which there is a subjectScheme.
Some topic content has profiling attributes, and we can therefore see this filtering directly in the Author view thanks to the green border + green background styles (by default).
We have several problems.
Firstly, the text added in the green background, in our case “if product is ‘XXXXXXXXXX’ or ‘YYYYYYYYYY’” can sometimes be very very long and clutter up the Author view.
I know it's possible to hide these profiling attributes in CSS, but isn't it possible to have them displayed on demand in a popup, for example?
Another concern is that in the “if product is ‘XXXXXXXXXX’ or ‘YYYYYYYYYYY’”, 'XXXXXXXXXX' or 'YYYYYYYYYY' correspond to the subjectdef/@keys attributes of the subjectscheme that was used, so we'd like to be able to display the topicmeta/navtitle associated with the subjetdef instead. In fact, we'd like to have the same labels as those displayed when using the Edit Profiling attributes popup.
To sum up, is there an API/method that can be used to control the content displayed in profiling attributes? For example, an API that, for a given @product, would return the associated subjectdef/@keys, subjectdef/topicmeta/navtitle?
Thank you for your help,
Johann
We are using Web Author version 26.1.
We have some questions about the profiled content display.
We have a DITA topic open in a DITA Map context, in which there is a subjectScheme.
Some topic content has profiling attributes, and we can therefore see this filtering directly in the Author view thanks to the green border + green background styles (by default).
We have several problems.
Firstly, the text added in the green background, in our case “if product is ‘XXXXXXXXXX’ or ‘YYYYYYYYYY’” can sometimes be very very long and clutter up the Author view.
I know it's possible to hide these profiling attributes in CSS, but isn't it possible to have them displayed on demand in a popup, for example?
Another concern is that in the “if product is ‘XXXXXXXXXX’ or ‘YYYYYYYYYYY’”, 'XXXXXXXXXX' or 'YYYYYYYYYY' correspond to the subjectdef/@keys attributes of the subjectscheme that was used, so we'd like to be able to display the topicmeta/navtitle associated with the subjetdef instead. In fact, we'd like to have the same labels as those displayed when using the Edit Profiling attributes popup.
To sum up, is there an API/method that can be used to control the content displayed in profiling attributes? For example, an API that, for a given @product, would return the associated subjectdef/@keys, subjectdef/topicmeta/navtitle?
Thank you for your help,
Johann
Re: DITA profiled content
Hello,
Should we understand that you want a different approach? Could you explain your use case in detail?
For example, if you have this:
instead of "X2000" you would like to display "X2000 Phone Guide" in the editor?
This is from Oxygen XML Editor:
This is from Web Author:
So, should we understand that you want the profiling attributes to be displayed according to the navtitle, like in Oxygen XML Editor (desktop)?
Best,
Cosmin
If you notice, when the profiling attributes are displayed in the editor, a little pencil appears at the end. If you click on it, a dialog opens where the possible profiling attributes and their values are presentedFirstly, the text added in the green background, in our case “if product is ‘XXXXXXXXXX’ or ‘YYYYYYYYYY’” can sometimes be very very long and clutter up the Author view.
I know it's possible to hide these profiling attributes in CSS, but isn't it possible to have them displayed on demand in a popup, for example?
- aaaaa.png (12.42 KiB) Viewed 122 times
Do you want the display of topicmeta/navtitle to be in the profiling attributes dialog or in the editor? The navtitle is already presented in the 'Edit profiling attributes' dialog, so should we understand that you also want the navtitle to be shown in the editor?Another concern is that in the “if product is ‘XXXXXXXXXX’ or ‘YYYYYYYYYYY’”, 'XXXXXXXXXX' or 'YYYYYYYYYY' correspond to the subjectdef/@keys attributes of the subjectscheme that was used, so we'd like to be able to display the topicmeta/navtitle associated with the subjetdef instead. In fact, we'd like to have the same labels as those displayed when using the Edit Profiling attributes popup.
For example, if you have this:
Code: Select all
<subjectdef keys="X2000">
<topicmeta>
<navtitle>X2000 Phone Guide</navtitle>
</topicmeta>
</subjectdef>
This is from Oxygen XML Editor:
- bbbbb.png (11.09 KiB) Viewed 122 times
- aaaaa.png (12.42 KiB) Viewed 122 times
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Re: DITA profiled content
Hello Cosmin,
For us, it is different from the pencil button which enables to edit the profiling attributes. The new button will be used to display the summary in a humanized way of the current selected profiling attributes.
Regards,
Johann
I take your example. Because the text "if product is 'X2000'" can be long in our context with a lot of selected profiles, we would like not display it in the editor. I will be displayed only on demand in a popup when clicking on a button.Should we understand that you want a different approach? Could you explain your use case in detail?
For us, it is different from the pencil button which enables to edit the profiling attributes. The new button will be used to display the summary in a humanized way of the current selected profiling attributes.
We'd like to see Author Desktop and Author Web display similarly. In this case, we prefer the Author Desktop approach, with navtitle display in the editor.So, should we understand that you want the profiling attributes to be displayed according to the navtitle, like in Oxygen XML Editor (desktop)?
Regards,
Johann
Re: DITA profiled content
Hello,
Thank you for your details. I will discuss with my colegues and come back to you with a response.
Also, I wanted to clarify:
Thank you for your details. I will discuss with my colegues and come back to you with a response.
Also, I wanted to clarify:
Is this requirement identical to the one in this post? (To which we will respond there as well) viewtopic.php?f=34&t=27022#:~:text=In%2 ... Desktop%3FWe'd like to see Author Desktop and Author Web display similarly. In this case, we prefer the Author Desktop approach, with navtitle display in the editor.
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Re: DITA profiled content
Hello,
[1] https://www.oxygenxml.com/doc/versions/ ... ditor.html
Best,
Cosmin
You can use the oxy_button form control [1] in which you can specify an action to open the dialog you mentionedI take your example. Because the text "if product is 'X2000'" can be long in our context with a lot of selected profiles, we would like not display it in the editor. I will be displayed only on demand in a popup when clicking on a button.
For us, it is different from the pencil button which enables to edit the profiling attributes. The new button will be used to display the summary in a humanized way of the current selected profiling attributes.
[1] https://www.oxygenxml.com/doc/versions/ ... ditor.html
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service