Hi,
I got a few questions, thanks in advance for your input:
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @baoyu_li
You should be able to host the file on AEM for downloading.
Create a specific folder to host the file such as /content/dam/something/downloads and all your files will go inside the downloads folder.
Now once you publish the file, the file can be downloaded from the end user/dispatcher URL using the path.
You can follow the same process to upload the file that you follow while uploading an asset.
Let's say I am uploading a file at /content/dam/abcd/selendroid-test-app.apk
then I can download the file by accessing http://localhost:4502/content/dam/abcd/selendroid-test-app.apk URL and it will download the file for me.
Thanks!
Hi @baoyu_li
You should be able to host the file on AEM for downloading.
Create a specific folder to host the file such as /content/dam/something/downloads and all your files will go inside the downloads folder.
Now once you publish the file, the file can be downloaded from the end user/dispatcher URL using the path.
You can follow the same process to upload the file that you follow while uploading an asset.
Let's say I am uploading a file at /content/dam/abcd/selendroid-test-app.apk
then I can download the file by accessing http://localhost:4502/content/dam/abcd/selendroid-test-app.apk URL and it will download the file for me.
Thanks!
Let's answer these questions in a simple way:
1. Is it a good or common practice to host APK files on AEM for downloading?
Yes, you can host downloadable asset files on AEM utilising DAM assets.
2. If answer is "yes", how can we set it up on AEM? Any experiences or lesson learned?
You can host asset files on AEM utilising DAM assets. for your case, maybe you can store it under /content/dam/my-site/downloads/apk/*
You can host APK files on AEM, but it's not very common because it can be risky. If you do, make sure to keep it secure. It might be better to use a special service for sharing APKs instead. If you want to use AEM, set up a custom type for APKs and make sure the right permissions are in place.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies