How can i get all file in 3dmodel folder on cloudinary on client side only in reactjs.
Best Answer
-
Hey.
Our React SDK doesn't have a way of doing this because listing the assets requires the resources() method, which relies on the presence of your API Secret. Naturally, this should never be exposed in client-side code, and so listing resources on your account isn't possible in React. I have however just replied to your ticket (#229380) about how to do this in Node.
If you wanted to use React to display specific 3D models (rather than simply listing all 3D models in your account), then I would recommend using our Product Gallery Widget. You should find some useful documentation for this here: https://cloudinary.com/documentation/product_gallery#3d_models
I hope this helps. Please let us know if you have any further questions.
All the best,
-Danny
0