Hi Friends,
Could you please let me know where are the DAM assets saved in the file system ?
For example: I checkin an image say apple_pie.jpeg in DAM(localhost), where is that image file saved in my file system ?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
It will be stored as binary. You cannot see it as a physical file
Views
Replies
Total Likes
It will be stored as binary. You cannot see it as a physical file
Views
Replies
Total Likes
Thanks Lokesh.
I have few pdfs in DAM. I want to upload them to a cloud. For that, I have to create a file object and use that object in the corresponding method that uploads the physical files to that cloud. I have to pass the file's location as argument to File class. I am passing for example: http://localhost:4508/content/dam/geometrixx/documents/GeoCube_Datasheet.pdf but that does't work.
Existing code works perfectly fine if I give any file from my local file system.
Views
Replies
Total Likes
When you have file at you local file system, you are able to make it work because its file protocol, but when you have file in aem, to read it you need to follow http protocol. For you it might be localhost host, but for code it an IP / HOST which can be accessed via http protocol. Now if you modify your code to read pdf from url then I guess you can proceed.
Views
Replies
Total Likes
Srikanth Biradar wrote...
Hi Friends,
Could you please let me know where are the DAM assets saved in the file system ?
For example: I checkin an image say apple_pie.jpeg in DAM(localhost), where is that image file saved in my file system ?
Thanks
Hi,
If you want to use a file object, you would need to download the file and then use the downloaded file object [1], unless you can change your code to do it all in memory?
Regards,
Opkar
[1] http://stackoverflow.com/questions/8324862/how-to-create-file-object-from-url-object
Views
Replies
Total Likes
All content of DAM stored at path /content/dam in CRXDE.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies
Views
Likes
Replies