SDK v14.14.0 released
Check the CHANGELOG for the complete list of changes.
Check the CHANGELOG for the complete list of changes.
The changelog mentions the following additions. Is there documentation for those additions? I canβt find anything for validate
on viktor.utils, viktor.external.word or viktor.external.spreadsheet
Added
utils
Added a method to validate Jinja identifiersexternal
Added a method to validate word template identifiersexternal
Addedfile
property toSpreadsheetCalculation
andSpreadsheetResult
Hi @rkg,
The wording is a bit off, I will update it.
The following functions have been updated:
viktor.utils.render_jinja_template()
viktor.external.word.render_word_file()
viktor.external.word.WordFileTemplate.render()
These functions now explicitly check the validity of the identifiers before trying to fill the template. This prevents some unclear error messages being returned when an invalid identifier is used.