Custom profiling attributes in web author
Posted: Mon Jan 27, 2020 10:05 pm
If I have a custom profiling attribute @myattr, and I want to use it to highlight DITA content and also to be able to filter content based on the value of the attribute.
What I tried: (1) create a subject scheme and put it in the root DITA Map (2) create a topic under the root map using the attribute.
The attribute is not highlighted.
I also tried it in the desktop XML editor, it does not highlight the attribute either unless I add the attribute to the "Profiling Attributes". The steps I followed is here: https://www.oxygenxml.com/doc/versions/ ... e-map.html. The tutorial is built using the built in attribute audience and it does not work with custom attribute.
My question:
(1) what should I do to let Oxygen Web Author highlight my customized @myattr attribute?
(2) how to provide ditaval file to filter content based on the value of customized attributes?
There is a parameter dita.val.url: https://www.oxygenxml.com/doc/versions/ ... aunch.html
However the request to retrieve the file defined in dita.val.url is not sent to the oxygen web author backend. However, the url and ditamap files are sent to the backend. It makes me wonder how to use dita.val.url? Are there anything that could prevent browser send the dita.val.url request to the backend?
What I tried: (1) create a subject scheme and put it in the root DITA Map (2) create a topic under the root map using the attribute.
The attribute is not highlighted.
I also tried it in the desktop XML editor, it does not highlight the attribute either unless I add the attribute to the "Profiling Attributes". The steps I followed is here: https://www.oxygenxml.com/doc/versions/ ... e-map.html. The tutorial is built using the built in attribute audience and it does not work with custom attribute.
My question:
(1) what should I do to let Oxygen Web Author highlight my customized @myattr attribute?
(2) how to provide ditaval file to filter content based on the value of customized attributes?
There is a parameter dita.val.url: https://www.oxygenxml.com/doc/versions/ ... aunch.html
However the request to retrieve the file defined in dita.val.url is not sent to the oxygen web author backend. However, the url and ditamap files are sent to the backend. It makes me wonder how to use dita.val.url? Are there anything that could prevent browser send the dita.val.url request to the backend?