Hi, i am applying replacevariablebytext in document title in word template but when i generate the report its not showing. please help me out.
Hi, i am applying replacevariablebytext in document title in word template but when i generate the report its not showing. please help me out.
Hello,
That replacement works correctly. What version and license of phpdocx are using?
Regards.
we purchased advanced version but i am testing on trial version. In our template cover page have title text box .we assign variable inside the title textbox.
Hello,
Textboxes don't use the same structure for text contents than 'normal' contents such as paragraphs, tables and others. To replace texts in textboxes you need to use the raw option available in replaceVariableByText or rawSearchAndReplace.
For futher support, please send to contact[at]phpdocx.com the username or e-mail of the user that purchased the license and a DOCX sample, and we'll generate a simple code to illustrate how to replace that content.
Regards.