Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

APK files to be hosted on AEM for downloading?

Avatar

Avatar
Level 1
baoyu_li
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
baoyu_li
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
baoyu_li
Level 1

26-04-2021

Hi, 

 

I got a few questions, thanks in advance for your input:

 

  1. Is it a good or common practice to host APK files on AEM for downloading?
  2. If answer is "no", what solutions to recommend instead?
  3. If answer is "yes", how can we set it up on AEM? Any experiences or lesson learned?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

373 likes

Total Posts

480 posts

Correct Reply

133 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

373 likes

Total Posts

480 posts

Correct Reply

133 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
Level 10

26-04-2021

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!

Answers (2)

Answers (2)

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

582 likes

Total Posts

564 posts

Correct Reply

218 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

582 likes

Total Posts

564 posts

Correct Reply

218 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
BrianKasingli
MVP

26-04-2021

@baoyu_li 

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/*

Avatar

Avatar
Validate 1
MVP
Nikhil-Kumar
MVP

Likes

240 likes

Total Posts

253 posts

Correct Reply

38 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
Nikhil-Kumar
MVP

Likes

240 likes

Total Posts

253 posts

Correct Reply

38 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
Nikhil-Kumar
MVP

28-04-2021

@baoyu_li  Yes you can host the apk file on AEM in DAM assets. And same can be published and available to download by the same path at which you hasted it.