How do I edit presentation in Zoho Show? Any sample codes?
To edit an existing presentation from your web application, you need to make use of Zoho Show's Edit Presentation API.
HTML Sample Code:
accept-charset="UTF-8">
Upload Presentation for Edit: <input type="file" name="document" size="38"> <br><br>
<input type="hidden" name="apikey" value="423s*****">
<input type="hidden" name="permissions" value='{"document.export":true,"document.print":true,"document.edit":true}'>
<input type="hidden" name="editor_settings" value='{"language":"en"}'>
<input type="hidden" name="callback_settings" value='{"save_format":"pptx","save_url":"https://zylker.com/save.php","context_info":"Doc/User Info"}'>
<input type="hidden" name="document_info" value='{"document_name":"My Presentation", "document_id":"10054809"}'>
<input type="hidden" name="user_info" value='{"user_id":"1000", "display_name":"James"}'>
<input type="submit" name="submit" value="Edit Presentation">
</form>
Curl Sample Code:
curl -X POST \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F apikey=1ee6127ff93882de82599eacc2668023 \
-F 'editor_settings={'\''language'\'':'\''en'\''}' \
-F 'permissions={'\''document.export'\'':true,'\''document.print'\'':true,'\''document.edit'\'':true}' \
-F 'callback_settings={'\''save_format'\'':'\''pptx'\'','\''context_info'\'':'\''doc or user info'\'','\''save_url'\'':'\''https://zylker.com/save.php/'/''}' \ -F 'document_info={'\''document_name'\'':'\''My Presentation'\'', '\''document_id'\'': 10054809}' \
-F 'user_info={'\''user_id'\'':'\''1000'\'','\''display_name'\'':'\''James'\''}'
You can also build and test Edit Presentation requests right from your browser with Office Integrator Postman Collection.
Related Articles
How do I create a new presentation in Zoho Show? Any sample codes?
To create a new presentation, please leave the "document" or "url" parameter in the Edit API request as blank. Zoho Show will create a new presentation by default if no content is provided in the Edit request. HTML Sample Code: <form method="POST" ...
How do I preview a presentation in Zoho Show? Any sample codes?
To preview a presentation or open it in read-only mode, you need to make use of Zoho Show's Preview Presentation API. HTML Sample Code: <form method="POST" action="https://show.zoho.com/show/officeapi/v1/presentation/preview" ...
How do I convert a presentation from one format to another? Any sample codes?
To convert a presentation from one format (say .pptx) to another (say .ppsx, .odp, .pdf), you need to make use of Zoho Show's Conversion API. HTML Sample Code: <form method="POST" action="https://show.zoho.com/show/officeapi/v1/presentation/convert" ...
Sample Codes - Java SDK
All of Zoho CRM's APIs can be used through the Java SDK, to enable your custom application to perform data sync to the best degree. Here are the sample codes for all the API methods available in our SDK. Rest Client Operations These methods involve ...
Sample Codes - Python SDK
All of Zoho CRM's APIs can be used through the Python SDK, to enable your custom application to perform data sync to the best degree. Here are the sample codes for all the API methods available in our SDK. Rest Client Operations These methods involve ...