Forum


Replies: 1   Views: 2536
For addproperties the key "company" must start with uppercase letter c as "company"
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by jari.heinonen  · 16-03-2018 - 08:58

Hi there,

For the method addProperties the key "company" must start with uppercase letter  "Company", otherwise it won't work. This caused quite a confusing problem since the name of the company may as well be taken from the document template.

It took a while to notice that your code sample used the different start case than is mentioned in the documentation.

Please, correct this.

Best Regards, JH