Enable or Disable Track Changes in Zoho Writer
Table of Contents
Description
The zoho.writer.documents.trackchanges task enables or disables track changes option in the given document. This task is based on the Zoho Writer Enable/Disable Track Changes API.
Syntax
<response> = zoho.writer.documents.trackchanges(<document_id>, <enableTC>, <connection>);
where:
Params | Data type | Description |
<response> | KEY-VALUE | The response returned by Zoho Writer. It represents if the status of track changes in the document. |
<document_id> | TEXT | The ID of the document for which track changes needs to be enabled/disabled. The document ID can be obtained from the URL of the document from in which the Track Changes needs to be enabled or disabled. The URL is in the following format: https://writer.zoho.com/writer/open/<document_id> |
<enableTC> | TEXT | 1. If you would like to enable the Track Changes option for the document, pass the value as enable. 2. If you would like to disable the Track Changes option for the document, pass the value as disable. |
<connection> | TEXT | The connection's link name. Note:
|
Example
The following script enables track changes for the given Writer document.
document_id = "h36bc2a6c50b2754a405880c1d1679a5f5be9"; enableTC = "enable"; //enable|disable response = zoho.writer.documents.trackchanges(document_id, enableTC, "writer_oauth_connection"); info response;
where:
response
"h36bc2a6c50b2754a405880c1d1679a5f5be9"
"enable"
"writer_oauth_connection"
Response Format
{ "result": "success", "message": "Track changes enabled successfully." }
Related Links