How to Configure the Proposed Profiling Attribute Values
Are you missing a feature? Request its implementation here.
-
- Posts: 171
- Joined: Thu Aug 30, 2018 10:06 pm
How to Configure the Proposed Profiling Attribute Values
Post by dreifsnider »
Hi,
We recently upgraded to Web Author v26 and we noticed that it includes a new dialog to easily add and modify profile attributes and their values. This is awesome!
Unfortunately, the values that are listed in the dialog do not apply to our documentation so we would like to change the displayed values:
We recently upgraded to Web Author v26 and we noticed that it includes a new dialog to easily add and modify profile attributes and their values. This is awesome!
Unfortunately, the values that are listed in the dialog do not apply to our documentation so we would like to change the displayed values:
image.png
The What's New topic in the User Guide says: Our DITA Maps do not use subject scheme maps, so we would need to export the condition sets from Oxygen desktop, and then impose them as options in Web Author. However, our condition sets and attribute values are built from imported DITAVAL files, and I do not see an option to export either these values or condition sets:You can configure the proposed attribute values using a subject scheme map referenced in the DITA map, or by exporting them from the Attributes and Condition Sets preferences page in the Oxygen desktop version (these exported values can then be used as imposed options in the Web Author server).
image.png
How can we export our current condition sets and then use them as imposed options in Web Author?You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 234
- Joined: Wed Aug 30, 2023 2:33 pm
Re: How to Configure the Proposed Profiling Attribute Values
Hello,
For your use case, you can use the option "Import from DITAVAL..." that can be seen in the second screenshot.
After you import your *.ditaval file, export global options from Oxygen Author:
After you identify this entry, copy its entire structure and paste it into the file named options.xml in Web Author. [1]
Now, you must restart Web Author [2] and after this, you can see your profiling attributes based on the *.ditaval file.
To apply profiling condition sets in Web Aiuthor, you can use URL parameter. [3]
Regarding this matter, we would like to inform you that we are about to release a new version of Web Author, which will include Profiling condition sets features directly from the user interface, by choosing the ditaval file you want.
[1] https://www.oxygenxml.com/doc/versions/ ... a-dir.html
[2] https://www.oxygenxml.com/doc/versions/ ... start.html
[3] https://www.oxygenxml.com/doc/versions/ ... aunch.html
For your use case, you can use the option "Import from DITAVAL..." that can be seen in the second screenshot.
After you import your *.ditaval file, export global options from Oxygen Author:
- Go to Options
- Click on Export global options
- Name the fil and save it.
Code: Select all
<entry>
<String>profiling.conditions.list</String>
line of conde....
</entry>
Now, you must restart Web Author [2] and after this, you can see your profiling attributes based on the *.ditaval file.
To apply profiling condition sets in Web Aiuthor, you can use
Code: Select all
dita.val.url
Regarding this matter, we would like to inform you that we are about to release a new version of Web Author, which will include Profiling condition sets features directly from the user interface, by choosing the ditaval file you want.
[1] https://www.oxygenxml.com/doc/versions/ ... a-dir.html
[2] https://www.oxygenxml.com/doc/versions/ ... start.html
[3] https://www.oxygenxml.com/doc/versions/ ... aunch.html
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
-
- Posts: 171
- Joined: Thu Aug 30, 2018 10:06 pm
Re: How to Configure the Proposed Profiling Attribute Values
Post by dreifsnider »
Hi Cosmin,
Thank you for your reply! I was able to copy the profiling.conditions.list from our project .xpr file and paste it into Web Author's options.xml file. It now works as expected. I was also able to use a Content Completion config file (cc_config.xml) to control the values that are suggested in for the corresponding profiling attribute, so this is great for us as well.
I ask because we're developing a new toolbar button that can be used to toggle a custom pseudo-class that will be used to hide/grey out elements according to their profiling attribute value. Cristian's reply in this post provided the inspiration for this idea: post42512.html#p42512.
Will this new feature in Web Author provide any of this capability or should we still proceed with developing this new toolbar button?
Thank you again!
Daniel
Thank you for your reply! I was able to copy the profiling.conditions.list from our project .xpr file and paste it into Web Author's options.xml file. It now works as expected. I was also able to use a Content Completion config file (cc_config.xml) to control the values that are suggested in for the corresponding profiling attribute, so this is great for us as well.
This sounds very intriguing and I'm looking forward to seeing the actual capabilities that this introduces! Is there any more information you can share regarding this feature?Regarding this matter, we would like to inform you that we are about to release a new version of Web Author, which will include Profiling condition sets features directly from the user interface, by choosing the ditaval file you want.
I ask because we're developing a new toolbar button that can be used to toggle a custom pseudo-class that will be used to hide/grey out elements according to their profiling attribute value. Cristian's reply in this post provided the inspiration for this idea: post42512.html#p42512.
Will this new feature in Web Author provide any of this capability or should we still proceed with developing this new toolbar button?
Thank you again!
Daniel
-
- Site Admin
- Posts: 234
- Joined: Wed Aug 30, 2023 2:33 pm
Re: How to Configure the Proposed Profiling Attribute Values
Hello,
We have just released version 26.1 of the Oxygen XML Web Author product.
For more information and what this release brings, you can navigate to the What's New section. [1]
[1] https://www.oxygenxml.com/xml_web_author/whats_new.html
Best,
Cosmin
We have just released version 26.1 of the Oxygen XML Web Author product.
For more information and what this release brings, you can navigate to the What's New section. [1]
[1] https://www.oxygenxml.com/xml_web_author/whats_new.html
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
-
- Posts: 171
- Joined: Thu Aug 30, 2018 10:06 pm
Re: How to Configure the Proposed Profiling Attribute Values
Post by dreifsnider »
Thanks Cosmin!
We're very excited for these new options, specifically the DITA-OT project file support and filtering options.
Is it possible to restrict the project or DITAVAL files that can be selected? For what it's worth, we do have profiling.conditions.set.list defined in our Oxygen project file (.xpr), that specifies the DITAVALs that can be used in our project. Is it possible to leverage this list in Web Author?
Thanks again!
Daniel
We're very excited for these new options, specifically the DITA-OT project file support and filtering options.
Is it possible to restrict the project or DITAVAL files that can be selected? For what it's worth, we do have profiling.conditions.set.list defined in our Oxygen project file (.xpr), that specifies the DITAVALs that can be used in our project. Is it possible to leverage this list in Web Author?
Code: Select all
<entry>
<String>profiling.conditions.set.list</String>
<profileConditionsSetInfo-array>
<profileConditionsSetInfo>
<field name="conditions">
<serializableOrderedMap/>
</field>
<field name="documentTypePattern">
<String>*DITA*</String>
</field>
<field name="conditionSetName">
<String>default</String>
</field>
<field name="ditavalFile">
<String>${pd}/_config/sdkdoc-frameworks/desktop/ditavals/default.ditaval</String>
</field>
<field name="useDITAVAL">
<Boolean>true</Boolean>
</field>
<field name="shortcut">
<null/>
</field>
</profileConditionsSetInfo>
<profileConditionsSetInfo>
<field name="conditions">
<serializableOrderedMap/>
</field>
<field name="documentTypePattern">
<String>*DITA*</String>
</field>
<field name="conditionSetName">
<String>Platform A</String>
</field>
<field name="ditavalFile">
<String>${pd}/_config/sdkdoc-frameworks/desktop/ditavals/platform-a.ditaval</String>
</field>
<field name="useDITAVAL">
<Boolean>true</Boolean>
</field>
<field name="shortcut">
<null/>
</field>
</profileConditionsSetInfo>
<profileConditionsSetInfo>
<field name="conditions">
<serializableOrderedMap/>
</field>
<field name="documentTypePattern">
<String>*DITA*</String>
</field>
<field name="conditionSetName">
<String>Platform B</String>
</field>
<field name="ditavalFile">
<String>${pd}/_config/sdkdoc-frameworks/desktop/ditavals/platform-b.ditaval</String>
</field>
<field name="useDITAVAL">
<Boolean>true</Boolean>
</field>
<field name="shortcut">
<null/>
</field>
</profileConditionsSetInfo>
</profileConditionsSetInfo-array>
</entry>
Daniel
-
- Site Admin
- Posts: 234
- Joined: Wed Aug 30, 2023 2:33 pm
Re: How to Configure the Proposed Profiling Attribute Values
Hello,
URL parameter. [1]
In the link provided, search for "dita.val.url"
[1] https://www.oxygenxml.com/doc/versions/ ... aunch.html
has no effect if you copy its entire structure into options.xml in Web Author.
Best,
Cosmin
To apply profiling condition sets in Web Aiuthor, you can useIs it possible to restrict the project or DITAVAL files that can be selected?
Code: Select all
dita.val.url
In the link provided, search for "dita.val.url"
[1] https://www.oxygenxml.com/doc/versions/ ... aunch.html
This entryIs it possible to leverage this list in Web Author?
Code: Select all
<String>profiling.conditions.set.list</String>
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