cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Fiori like application

Former Member
0 Kudos

I have an issue and hope you can help me

I developed a Fiori like application that get data from PRD and display it to user

I used master-details view with SplitApp()

all view was created as XML view and controller in controller.js

the issue is when I open the application in google chrome and open the "inspect elements  Ctrl + Shift + I" I found all my controllers code is available to all users as shown in attached file.

How can hide the controller javascript code or run it at server not at client?

Thank you

Salah Afia

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

Hi Salah;

As controllers are written in javascript and javascript needs to be executed on the client machine.

It has to be sent to the client machine. So you cannot hide it or prevent users from seeing it if they want to. However you can minify (Minify Javascript Online / Online JavaScript Packer) it or use Obfuscator (http://www.javascriptobfuscator.com/Javascript-Obfuscator.aspx) to make it not easily  understandable.

Regards,

Sarbjeet Singh

Answers (0)