Hi,
I create a class 'Bureau' (Organization) in which i put different methods :
- getName()
- getPhone()
- getLocationFull()
- getCity()
- ...
In the word template, i added $Bureau.Name, $Bureau.Phone, ... It works well !
Is there a way to use a kind of try & catch which will allow to see which merge fields is not handled in the code ?
That would allow to put them on a log file and return "Error / Unknown mergefield".
Thanks,
Nicolas