I tested using your original code and template file and it works fine. The output XLS file has the newly added custom property with its value fine. I am using latest version/fix: Aspose.Cells for Java v19.7.2.
Please try our latest version/fix: Aspose.Cells for Java v19.7.2 (attached)
I can now see that the output XLS has the custom properties,
but after opening the XLS file in excel i get a message
“Protected View” that blocks editing the doc.
I used your exact code to generate the output file. I used MS Excel 2007 and 2010 to open it manually and it works fine and I do not see the "Protected View message. Please find attached the output file and try to open it if you see the issue. files1.zip (7.2 KB)
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.