monkeylizard
MIS
I have a document template that uses find/replace tags. A 3rd party application opens the template and saves a new instance of a document after doing a find/replace on the tags.
For example, the address section of the letter may look like:
The app then looks for tags that it has associated with data in its own database and replaces them with the right values.
I need to be able to have the text and a logo in the header section be conditional based on the value in one of these tags. I have a <<COMPANY#>> tag, and based on that, I need a different header.
Any thoughts on how to go about that?
Monkeylizard
Sometimes just a few hours of trial and error debugging can save minutes of reading manuals.
For example, the address section of the letter may look like:
Code:
<<CUSTOMERTITLE>> <<CUSTOMERNAME>>
<<CUSTOMERSTREET1>>
<<CUSTOMERSTREET2>>
<<CUSTOMERCITY>>, <<CUSTOMERSTATE>> <<CUSTOMERZIP>>
The app then looks for tags that it has associated with data in its own database and replaces them with the right values.
I need to be able to have the text and a logo in the header section be conditional based on the value in one of these tags. I have a <<COMPANY#>> tag, and based on that, I need a different header.
Any thoughts on how to go about that?
Monkeylizard
Sometimes just a few hours of trial and error debugging can save minutes of reading manuals.