I am trying to tag a document that has lots of formatting (e.g. numbering and heading etc.). In some cases I have an entire paragraph (which may have numbered sub paragraphs) that is conditional on a value (from a form). I am hoping there is a way to replace the paragraph with e.g. a variable which means I don't have to try and paste the entire paragraph in the If statement.. in this example the text is either a yes or no. What I need to achieve is either show an entire paragraph or not.
e.g. IF "<<TaskForm_009837f3384e404b8c9fce85c253d0d0_yes_no_1_Lz5uuSlAj>>" = "true" "YES" "NO" \* MERGEFORMAT
This is fine when the text is simply Yes or No, but not an entire paragraph.
I have searched on these forums for Docgen questions similar to mine but cannot find any. Any assistance or suggestions welcome.
Hi Sean! I'm pretty new at this too, but I hope this helps. I'm assuming you're using DocGen for Salesforce, and if so, there is a really nifty feature that utilizes components and component groups for longer conditional text. With this solution, you do not need to use in file formulas. You can read about it here: https://www.nintex.com/blog/know-component-groups-docgen-salesforce/
This is how to remove empty spaces: https://help.nintex.com/en-us/docgen/docservices/docgen-sfdc/Services/manageDDP/componentLibrarySupp...