I have a tag in a word template <<[WorkEntity.SignoffStaff.Name]>>
In the data model, SignoffStaff is null. When using Report Engine to build the report, an exception is thrown: Non-static method requires a target
I have specified the AllowMissingMembers option.
engine.Options = ReportBuildOptions.AllowMissingMembers;
Is there a way to avoid this exception when a member is null?
I’m using Aspose Word .Net Core 18.7