cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating PI in ACL when a file is open

Level 5

Creating PI in ACL when a file is open

I am trying to make our tables more WYSIWYG in Arbortext editor. We have custom attributes that define cell shading, font color and border color.

We are looking to create the processing instruction on the table (for border color) and on the entries (for the shading). Note, the font color is set by FOSI, and is working correctly.

We have tried to create the PI from FOSI, but it looks like shading doesn't work that way. See https://community.ptc.com/t5/Arbortext/alternate-row-shading/m-p/547179/highlight/true#M31463

Does anyone know why?

 

If FOSI doesn't work, I will create an ACL function that will traverse the entire doc and create (or update) the PI entries in all the tables in the document. I can't, however, find how do I trigger the ACL script on document load. 

Does anyone know how I trigger the function?

 

Thanks,

Yakir