Configuring Options not working
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
			- 
				manojdcoder
 - Posts: 67
 - Joined: Thu Oct 29, 2020 12:01 am
 
Configuring Options not working
Post by manojdcoder »
I'm using Oxygen Component Integration v23, placed following content in options.xml as zip in src/main/weapp/WEB-INF
The file is properly extracted at work\Catalina\localhost\web-author-component-integration\options but one of the options take effect,
1. Profiling attributes are still rendered
2. Toggling tracking changes still adds the PI to the XML document
			
			
									
									
						Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<serialized version="23.0" xml:space="preserve">
  <serializableOrderedMap> 
		<entry>
		  <String>author.show.comments</String>
		  <Boolean>true</Boolean>       
		</entry>
		<entry>
		  <String>show.profiling.attributes</String>
		  <Boolean>false</Boolean>       
		</entry>
		<entry>
			<String>track.changes.initial.state</String>
			<Integer>0</Integer>
		</entry>
	</serializableOrderedMap>
 </serialized>
1. Profiling attributes are still rendered
2. Toggling tracking changes still adds the PI to the XML document
- 
				mihaela
 - Posts: 520
 - Joined: Wed May 20, 2009 2:40 pm
 
Re: Configuring Options not working
Hi, 
The show.profiling.attributes option controls the display of the custom profiling attributes. For the built-in attributes (like (@product, @platform, @audience, @rev, @props, and @otherprops in DITA) the rendering is added from CSS and you will have to overwrite those rules. What type of profiling attributes are you using?
The 0 value for track.changes.initial.state option [1] means that the initial state is stored in document so it is correct that toggling tracking changes still adds the PI to the XML document. You will have to use 1 or 2 value, depending on what you are trying to obtain.
[1] https://www.oxygenxml.com/doc/versions/ ... tial.state
			
			
									
									The show.profiling.attributes option controls the display of the custom profiling attributes. For the built-in attributes (like (@product, @platform, @audience, @rev, @props, and @otherprops in DITA) the rendering is added from CSS and you will have to overwrite those rules. What type of profiling attributes are you using?
The 0 value for track.changes.initial.state option [1] means that the initial state is stored in document so it is correct that toggling tracking changes still adds the PI to the XML document. You will have to use 1 or 2 value, depending on what you are trying to obtain.
[1] https://www.oxygenxml.com/doc/versions/ ... tial.state
Mihaela Calotescu
http://www.oxygenxml.com
						http://www.oxygenxml.com
- 
				manojdcoder
 - Posts: 67
 - Joined: Thu Oct 29, 2020 12:01 am
 
Re: Configuring Options not working
Post by manojdcoder »
Thank you the prompt reply. 
I realize that I was using wrong value for track.changes.initial.state, I wanted to turn it off always, I suppose to use 2 but I used 0 (assuming 0 = false).
I was not using custom profiling attributes in my document, all were built-in. Let me try using custom ones and see if it works.
			
			
									
									
						I realize that I was using wrong value for track.changes.initial.state, I wanted to turn it off always, I suppose to use 2 but I used 0 (assuming 0 = false).
I was not using custom profiling attributes in my document, all were built-in. Let me try using custom ones and see if it works.
			
				Jump to
				
			
		
			
			
	
	- Oxygen XML Editor/Author/Developer
 - ↳ Feature Request
 - ↳ Common Problems
 - ↳ DITA (Editing and Publishing DITA Content)
 - ↳ Artificial Intelligence (AI Positron Assistant add-on)
 - ↳ 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