cancel
Showing results for 
Search instead for 
Did you mean: 

BI4: CSS Paths on Tomcat Server to provide for Design Studio

cl7
Participant
0 Kudos

I am looking for a solution to restrict authorization for the public folder wihtin the BI Launchpad. But I am facing the problem that users are not able to execute Design Studio reports which includes pictures and css-files wihtin the public folder structure.

Know I found the following SAP note:

2293933 - BI4: CSS Paths within BO Public Folders not working in Design Studio

Can you help me to find out, how to save pictures and css-files on the tomcat server and how to reference within my Design Studio report?


Accepted Solutions (1)

Accepted Solutions (1)

former_member265529
Contributor
0 Kudos

Hi Christian,

If you are going to restrict authorization for Public folders in BI launchpad, you can save the CSS file and images in the same folder with the application. Because the user having access to the application in that folder will also have same access on the css files and images. So the applications will work fine at the time of execution.

Adding to that rather than using image files in design studio application, you can use image data uri.

Thanks,

Poovarasan

former_member241445
Participant
0 Kudos

hi,Poovarasan.

As you say,we can use image data uri to set image .But if I want use this way to hiden the css file ,how should I do?so is GEOJSN file.

Thanks .

Jing.

former_member265529
Contributor
0 Kudos

Hi Jing Zhang,

We can only do like that for image because it will be stored inside the application, but we cannot do it for CSS and GeoJson files. As they are not stored inside application.

But you can write CSS for some Components in CSS style property directly in components.

However, you can use a common folder to store all css with restricting edit access for those files in BI launch pad.

So, user will have only dashboard in his folder and he can't edit css file or GeoJson file.

I think it would help for you.

Thanks,

Poovarasan

former_member241445
Participant
0 Kudos

Hi,Poovarasan.

You are right.Now,we use three method to solve this:

first,for image,we use setimage(url),we save the image in the service;

second,for css,we also use url ,but we must set two url in the machine of developer and product;

last,for GEOJSON,we just can use the normal way.

I was wondered maybe GEOJSON file have another way we didn't find.

This is my conclusion,maybe I'm not good in language express.

Thanks.

Jing.

Answers (2)

Answers (2)

cl7
Participant
0 Kudos

Thanks a lot to both of you. It works fine now.

Best regards

Christian

TammyPowlas
Active Contributor
0 Kudos

Victor's reply here should help: https://archive.sap.com/discussions/thread/3698365