Hello,
I have the below ACL code:
alias copyfit1 {
set changetracking=off
insert_pi 'xpp copyfittext1';
set changetracking=on}
map F1 copyfit1
As you can see that a PI is inserted. Our requirement is to turn the change tracking off when this PI is inserted. In the above code I could able to achieve this. But here is my issue - I do not want change tracking to be turned on when the PI is inserted for a docuemnt where we do not need change tracking at all i.e., if the document does not to be tracked whereas this PI should be inserted I do not want change tracking to be turned on after inserting the PI. For this can I check the status of change tracking in a document and have the code act according to the status of change tracking in the document.
Thanks in advance.
Karthik
It was working till today but one of the user had bought up an issue on this:-(
When you insert this PI in non-tracked section, the PI is inserted without change tracking. However if we insert the PI on a existing change tracking section it is still tracked. See the screenshots attached.
I understand that the PI is been tracked because it is inside <atict:...> markup. So the only solution is to read the type of change track (add or deleted) close it before the PI and reopen it after PI.
How do I handle this? If ACL can't help I have to look for XSLT may be.
Karthik