Render doesn't replace conditional text in a simple doc
Asked by
Sterling Hoeree
I've been trying to do something super simple from the main "how to," namely:
1) Create an .odt document, called "hello.odt", which looks like:
Hello name!
... Where "name" is a Conditional text field (created with CTRL+F2), Condition set to "true", Then set to "name", Else blank.
2) call renderer.run() in python:
from appy.pod.renderer import Renderer
vars = { 'name' : 'Bonzoo' }
r = Renderer(
r.run()
Unfortunately, the result of this is... the same as the original document! Nothing changes at all.
What am I doing wrong?
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Appy Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sterling Hoeree
- Solved:
- Last query:
- Last reply:
To post a message you must log in.