Hi,
I have been using the very useful "Update Word Activity" in LF10 and it has solved a lot of my customer's document creation requirements to date. However I have been investigating using conditions and formulas and seem to have come across an issue. I'd like to know if this is a limitation of the system at present or if my formula is incorrect.
I have an INCLUDETEXT mergefield in my document which is inside a conditional field. The idea is that i'd like to place content from different files in the document conditionally based on a merge field.
The field I have in my word template is :-
{ IF { MERGEFIELD EmployeeRole = "Something" { INCLUDETEXT "C:\File1.docx" } { INCLUDETEXT "C:\File2.txt" } } }
Which I was hoping would insert File1 into my document if EmployeeRole was equal to "Something" otherwise insert File2.
However the output of the field after processing converts the expression to a conditional field as follows:-
{ IF <EmployeeRoleValue> }
where <EmployeeRoleValue> has been populated by whatever the metadata value for the field is.
I suspect that either the activity cannot handle embedded mergefields or my syntax is incorrect. If the former, could someone from Laserfiche comment if this might be something that would be considered in future release?
thank you,
Ian