Page 1 of 1
Replace Bookmarks with API Data Every on loading Document
Posted: Fri Apr 02, 2021 4:17 pm
by himanshu.v
I want to create a template in only office with some bookmarks(variable type). then replace these bookmarks, every time we open the document in the editor. Bookmark values will be replaced by Calling Our server API that fetches the data from the database.
Is there any way we can implement this type of functionality using only office.
Re: Replace Bookmarks with API Data Every on loading Document
Posted: Tue Apr 06, 2021 7:43 am
by Carl
Re: Replace Bookmarks with API Data Every on loading Document
Posted: Wed Apr 07, 2021 8:46 am
by himanshu.v
Thanks for the help.
I tried content control. But it is not updating existing content control, every time it is creating new CC. I want to update the existing ones by using the tag.
Can you please help me?
Thanks
Re: Replace Bookmarks with API Data Every on loading Document
Posted: Wed Apr 14, 2021 11:23 am
by himanshu.v
I Found a way to update Content Controls.
here is the link
https://github.com/ONLYOFFICE/sdkjs-plu ... trols_tags