My requirement is when the Order Flow_status_code is Entered then in the back of the page Entered need to printed when it is cancelled then cancelled need to printed, But now its printing Entered in all the pages.
The variable what i declared is not updating correctly, Can any one please tell me how to change the text,any update need to write to change the variable.
I am facing the same watermark Issue in my scenaruio.
Can you please send me the details to my id firstname.lastname@example.org or
please post the solution how to get the watermark dynamically.........
Thanks in advance
I too am having trouble with displaying watermarks in RTF templates. I can get the variable assignment working (it has to be inside a form field) but how do you display the watermark dynamically? Thanks.
Get environment value from xml
<?xdoxslt:set_variable($_XDOCTX, ‘Environment', /R5643500/Properties/Environment)?>
Initialise Flag to 2
<?xdoxslt:set_variable($_XDOCTX, ‘Flag’, ‘2’)?>
If environment contains PD900, then set a variable called Flag to true(1). No display happens here at all
<?if:contains((xdoxslt:get_variable($_XDOCTX, 'Environment')),'PD900')?> <?xdoxslt:set_variable($_XDOCTX, ‘Flag', ‘1’)?>
If the flag is not true, it means it doesn’t contain PD900 and is therefore a test environment. I place the below line into menu format -> background -> printed watermark - > text watermark -> text field. Then set font and size.
<?if:not(xdoxslt:get_variable($_XDOCTX, 'Flag')) = '1'?>SAMPLE<?end if?>
It seems that it prints the SAMPLE watermark when the above line is both true and false so it looks like it is not evaluating the if properly. Any ideas anyone?