Hi,
A have a DATE filed in a document template. When I create and save a new document from this template, this field is properly updated.
Now, I want to replace this field with its value (e.g. the date I have created the document), so it stays fixed and do not change when all document fields get updated further (I cannot use CREATEDATE field, unfortunately).
How do I replace any field with its value? What if the value is multi-line? What if the field code contains a paragraph break?
Thanks for your request. I think, you can try using the following code to achieve what you need: https://forum.aspose.com/t/84276
Code is in Java, but I think you can easily translate it to C# or VB. Please let me know in case of any issues, I will be glad to help you.
Best regards.
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.