- The article discusses a workaround for enabling conditional formatting for Word Layouts in Microsoft Business Central.
- The author introduces a new field in sales line and demonstrates how it looks in the web client.
- In RDL, conditional formatting can be achieved by using cell properties in a Tablix and setting conditional formatting.
- Conditional formatting for Word Layouts is more complex and the author created three new dataitems under a Line dataitem to achieve it.
- The workaround involves creating a top-level repeater for Line dataitem and three nested repeaters inside of it.
- The repeater is conditionally printed out based on the presence of lines in the dataitem it was created for.
- The author acknowledges the workaround as a temporary solution and expresses a desire for better alternatives in the future.
- The possibility of using Azure Functions to manipulate XML content of the Word file is mentioned as a potential alternative solution.
Registered users can view the full text for FREE!
Sign In Now!