This is a new post on BI Publisher - RTF development.
I was working on one of the RTF template changes as part of my fixes and I was looking for adding some conditions to the template.
The more general way, I thought of was adding tags like this <?if:CONDITION_1='YES'?> DO THIS <?end if?> in the template.
Somehow, this tag and content was lengthy and using much space, even though it doesnt matter for the output.
I was figuring out for adding the Text Form Field to include this tag(may sound simple!!!!!!!!!!!).
This is how it can be done :
Open the new word document.
Click on Text form field ( icon : ab| )
Double click on the Text form field
Add your custom text in Default text box
Click on 'Add Help Text' button and this is where you add the XML Tag
Click on OK -> OK.
That's it, XML tag is now being inserted in Text form field
Hope this helps, though this looks simple and easy.
I was working on one of the RTF template changes as part of my fixes and I was looking for adding some conditions to the template.
The more general way, I thought of was adding tags like this <?if:CONDITION_1='YES'?> DO THIS <?end if?> in the template.
Somehow, this tag and content was lengthy and using much space, even though it doesnt matter for the output.
I was figuring out for adding the Text Form Field to include this tag(may sound simple!!!!!!!!!!!).
This is how it can be done :
Open the new word document.
Click on Text form field ( icon : ab| )
Double click on the Text form field
Add your custom text in Default text box
Click on 'Add Help Text' button and this is where you add the XML Tag
Click on OK -> OK.
That's it, XML tag is now being inserted in Text form field
Hope this helps, though this looks simple and easy.
No comments:
Post a Comment