Skip to Content
avatar image
Former Member

SAPUI5 Fiori like application

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 25, 2015 at 06:53 PM

    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 ( to make it not easily  understandable.


    Sarbjeet Singh

    Add comment
    10|10000 characters needed characters exceeded