We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

How to Convert a PPTX File that Exists in Cloud Storage to PDF?

Both the convert() and convertAndSave() functions require the actual PPTX data.
How do I convert a file that already exists in storage?

@Ronnie_Lazar,
Thank you for posting the inquiry.

You should use the downloadPresentation or savePresentation methods that allow you to specify the format for exporting a presentation that exists in the storage.

Documents: Convert PowerPoint Documents to other File Formats
API Reference: DownloadPresentation | SavePresentation

If you have any difficulties with it, please specify the Aspose.Slides Cloud API you use.

Andrey,

Thanks for pointing me in the right direction. That worked.
However, the PDF file that is the result of the conversion does not have the “type” property in the standard metadata of Google Cloud Storage, like the source PPTX object has.

Also is there a way to copy the user metadata from the input to the output?
Or provide a way to supply custom metadata?

Thanks,
Ronnie

@Ronnie_Lazar,
To help you properly, we need to have all the necessary data to reproduce the problem on our side. Please share and specify the following:

  • input PPTX file and output PDF file
  • code example you used for the conversion
  • screenshot that highlights the problem
  • Aspose.Slides Cloud product and version

You can zip the files and upload the archive here.

I’m talking about the metadata of the Google Cloud Storage file.
Not sure how the PPTX and PDF files are related

Input object:
image.png (57.1 KB)

output object:
image.png (51.1 KB)

you can see that the input object does not have the type property

using asposeslidescloud npn v22.1.0

@Ronnie_Lazar,
Could you please describe in more detail step by step how to reproduce the problem?

I upload the PPTX file to google cloud storage.
The file automatically gets the “type” metadata in google cloud storage (see png of input file above).
I use the SavePresentation of the slides API to convert it to PDF, while saving it on the google cloud storage. The output PDF file, has an empty “types” metadata field. (see png of output file above).

@Ronnie_Lazar,
Thank you for the issue description. We will reply to you as soon as possible.

@Ronnie_Lazar,
I’ve added a ticket with ID SLIDESCLOUD-1396 in our issue tracking system. Our development team will investigate this case. We apologize for any inconvenience. You will be notified when the issue is resolved.