on 2023 Dec 12 9:20 AM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
74 | |
30 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.