Replace text in POTM files with Ruby

Find & Replace occurrences of text in Slides data with open source Cloud SDK for Ruby

Replacing Text in POTM Files with Ruby

  1. Create an account at Dashboard to get free API quota & authorization details
  2. Initialize SlidesApi with Client Id and Client Secret
  3. Call one of the text replacement methods, depending where are your POTM files, and whether you need to replace text in the entire document or in a single slide
    • replace_presentation_text to replace all occurrences of given text with another in all slides of a presentation file on storage.
    • replace_slide_text to replace all occurrences of given text with another in one slide of a presentation file on storage.
    • replace_presentation_text_online to replace all occurrences of given text with another in all slides of a presentation file passed in request body.
    • replace_slide_text_online to replace all occurrences of given text with another in one slide of a presentation file passed in request body.

Get Started with Slides API & Ruby SDK

Get Slides Cloud SDK for Ruby source code from GitHub to compile the SDK yourself or head to the Releases for alternative download options.

Also have a look at Swagger-based API Reference to know more about the SLIDES REST API.

:
...

FAQ

  • How can I get started with Aspose.Slides REST APIs?
    Quickstart not only guides through the initialization of Aspose.Slides Cloud API, it also helps in installing the required libraries.
  • Where can I see the release notes for Aspose.Slides Cloud API?
    Complete release notes can be reviewed at Aspose.Slides Cloud Documentation.
  • Is it safe to replace text in POTM files in the Cloud?
    Of course! Aspose Cloud uses Amazon EC2 cloud servers that guarantee the security and resilience of the service. Please read more about Aspose's Security Practices.
  • What file formats are supported by Aspose.Slides Cloud API?
    Aspose.Slides Cloud can replace text in PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, ODP, OTP as well as POTM files. Checkout the complete list of supported file formats.
  • I can not find the SDK for my favorite language. What should I do?
    Aspose.Slides Cloud is also available as a Docker Container. Try using it with cURL in case your required SDK is not available yet.
  • I do not have time to set up. Is there a quick demo for replace text in POTM that I can try?
    Indeed! Checkout the POTM Text Replacement App.