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

Self-hosted libraries - Same file multiple times

Avatar

Avatar
Validate 10
Level 8
Antti_Ko
Level 8

Likes

268 likes

Total Posts

150 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Shape 25
Shape 1
Shape 10
View profile

Avatar
Validate 10
Level 8
Antti_Ko
Level 8

Likes

268 likes

Total Posts

150 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Shape 25
Shape 1
Shape 10
View profile
Antti_Ko
Level 8

23-09-2019

I have talked this with ClientCare (ping Navdeep Pandey), but we decided to wrote public forum post and bit pressure for product management to react to this one. There was also some discussions about this in Measure Slack. Anyway, would be great to get this information to forum too.

If you want to choose self-hosted files in Adobe Launch you need to download scripts in zip file. There are normal and minified versions available.
After unzipping you get e.g. minified files:
(I modified folder/files, but you get the idea)

launch-EN2a37something-development.min.js

xxxxx/subfolder/launch-EN2a37something-development.min.js

xxxxx/subfolder/subfolder2/launch-EN2a37something-development.min.js
xxxxx/subfolder/subfolder2/EXed123456789de2d-libraryCode_source.min.js

xxxxx/subfolder/subfolder2/hostedLibFiles/EP971123456789xxxxxxx/AppMeasurement.min.js

My questions:

1. Why is there same file 3 different times on different folders? And if I see browser only using one of those could I then delete other files or should I keep those always on our server?

2. Is there plans to simplify this? My wish is to have only 1 file and maybe I need to wait this https://medium.com/adobetech/simplifying-customer-workflows-with-adobe-experience-platform-web-sdk-4... ?

3. Before we get things to simplified format, could there be detailed information available what these different files really contain and do you need to update every single one after making updates in Launch? For example, maybe you don't need the last AppMeasurement file at all if you have code in custom code etc?


Now you have to manually upload and do different kind of security tests for 5 different files and this takes too so much time compared to only 1 file (or max 3 files).

I already noticed that these folder and script names are nowadays shorter, because windows had some problems to unzip too long folder structure. Good!
I would also hope that unzipping the file would result into 2 different zip files containing minified version in separate file. Now you have to be very careful that you only upload minified version and not the other one.

View Entire Topic

Avatar

Avatar
Validate 10
Level 8
Antti_Ko
Level 8

Likes

268 likes

Total Posts

150 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Shape 25
Shape 1
Shape 10
View profile

Avatar
Validate 10
Level 8
Antti_Ko
Level 8

Likes

268 likes

Total Posts

150 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Shape 25
Shape 1
Shape 10
View profile
Antti_Ko
Level 8

05-10-2019

I marked my initial questions as answered.

Now we have bit more understanding about this and hopefully we get official and detailed help documentations around this topic in the near future. I also found similar discussion thread in here https://forums.adobe.com/thread/2603462 and Launch self-hosting: Why are there duplicate files? if you want to learn more.

Also new idea post around this topic as Urs already mentioned: https://forums.adobe.com/ideas/11195

And long path names have been already fixed, great!

Thanks Urs and others for great ideas to modify scripts and paths. In some ways, it is risky to change default ways or at least that might confuse new analytics people when trying to understand how measurement is built on your site. Yes, you can and should always do documentation and it helps. Anyway, hopefully Adobe will develop this to better direction and something like this https://medium.com/adobetech/simplifying-customer-workflows-with-adobe-experience-platform-web-sdk-4...

sounds interesting too.