cancel
Showing results for 
Search instead for 
Did you mean: 

Theme Designer export missing files

prom2020
Explorer
0 Kudos

Hi,

When a custom theme is exported from the SAP UI Theme Designer, a lot of files are missing. The folder UI5/sap only includes the ui library folder. All the other library folders are missing, e.g., UI5/sap/f, UI5/sap/m, UI5/sap/tnt.

Anyone who knows why that is?

- Morten Prom.

Accepted Solutions (1)

Accepted Solutions (1)

barbara_hartel
Advisor
Advisor
0 Kudos

Hi Morten,

the problem should now be solved on SAP BTP Cloud Foundry. When you select export with CSS in the export options you should get all UI5 libraries. Please try.

Best regards, Barbara

prom2020
Explorer
0 Kudos

Hi Barbara,

The Theme Export now works very well, thanks a lot.

Answers (2)

Answers (2)

dsch
Advisor
Advisor
0 Kudos

Hi Morten! Thanks for bringing that up. After talking with our UI experts I learned that the behavior you're describing is in fact a regression specifically for the BTP Cloud Foundry environment, coming from our save optimizations. A fix is already prepared and will be delivered within the next couple of days (I'll post an update here once the fix is live). See, you'll get a nice christmas present from us. Best, Dominik

prom2020
Explorer
0 Kudos

Very good news Dominik, thanks a lot!

dsch
Advisor
Advisor
0 Kudos

Hi Morten,

the answer is two-fold:

1. this depends on the export mode you selected. If you selected "Source Files + CSS Resources + Base Theme Resources" (let's call it export mode "ALL"), then everything should be there, even CSS Resources and Base Theme Resources. But

2. if you selected the default "Source Files Only" (export mode "DESIGNTIME"), the Theme Designer will only export the files it needs to import the theme again. And to import a custom theme, most of the files you mention are not needed at all, because they don't differ from the SAP-provided theme the custom theme depends on.

In fact it is a recent (from early November 23) file-size and performance improvement that no unnecessary files are exported.

Did you actually experience a problem with those missing files? Or did you just notice?

Best
Dominik

prom2020
Explorer
0 Kudos

Hi Dominik,

I should have specified that I do choose "Source Files + CSS Resources + Base Theme Resources". It used to be that all resources were there. But now they are not. I don't know when the behavior changed, some time in the last few weeks.

Can you try to export a UI Theme with "Source Files + CSS Resources + Base Theme Resources" selected and check the download. Do you have all the library folders in UI5/sap? I only have one folder there, the "ui" folder. All the other library folders are missing, e.g., UI5/sap/f, UI5/sap/m, UI5/sap/tnt.

Left: How it used to be. Right: Now

MartinSommer
Explorer

dominikschreiber thanks for replying swiftly 🙂 great job with the file size and performance improvement you mention, it is definitely noticeable.

I would like to bring to your attention a challenge we are currently facing concerning missing files even when choosing "Source Files + CSS Resources + Base Theme Resources". Specifically, we are seeking guidance on how we have to proceed for the use-case description below, when exporting themes to a non-SAP platform or to an SAP platform that doesn't support the theme repository. Your recommendations in navigating this challenge would be highly valued.

Exporting Themes | SAP Help Portal

Best regards, Martin