As a portal application developer, you may want to determine the location of your styling assets within the Web Resource Repository.
To achieve this goal, the following capabilities were added:
1. The branding APIs, IBrandingImporter and IBrandingLoader, were extended. You can now specify the location of the resources in the Web Resource Repository (under Application Branding) by using the “namespace” parameter. A namespace is composed of one or more folder levels, separated by ‘/’. For example: name1/name2.
2. A new service, IwebResourceImportSrv, was published. This service enables importing application resources into the Web Resource Repository. Use the “targetPath” parameter to define the location in the Web Resource Repository into which to import the resources. A targetPath is composed of one or more folder levels, separated by ‘/’.
The namespace and targetPath parameters facilitate the management of application resources. Portal content administrators can manage multiple application styling assets under a central location. For example, when the resources of several applications are grouped under a single location (using namespace or targetPath) the administrator can download all these resources at once.
Relevant SAP Note – 1817900.