I want to add a hyperlink to an image in a PPT using Aspose Cloud API. According to my understanding, I need to
- Register an application
- Create a storage
- Upload PPT to that storage
- Use API to add hyperlink to any object in the PPT
I have doubts regarding the storage, I added a s3 bucket as storage and used access key and secret of my custom bucket, but file is not found at that location when I am trying to access it.
API is trying to access file on below location
987162/b6718d6b-d56c-46df-999d-af3ab73eee21/10777_histology_2024_05_17_07_24_06_290.pptx
What is this location?
What exactly is the storage and how to use it?
1 Like
@mdmobin
When you register an application, a default storage is created for you. It’s a folder on a S3 bucket. You do not have to include bucket & root in the file path.
If you like, you can create a custom storage that uses your own S3 bucket. In this case, you should not forget to add “storage” parameter to your API requests, otherwise the default storage will be addressed.
You can use dashdoard to see your storage files:
https://dashboard.aspose.cloud/files
Can you observe your files there? If so, use its name (without bucket) to access it.
If the file is located in a subfolder, you should also specify it, but not the entire S3 path.
I hope it helps.
Please ask further if anything remains unclear.