SAP HANA: not able to call xsjs file in HTML

2.2k Views Asked by At

I had an SAP UI5 application project in which one of the pages is product.html and a xsjs file getProductCat.xsjs.

Now I made some changes in HTMl page from notepad. When I try to open in HANA's web browser the changes are there but it is not able to connect to xsjs file. However, if I try to open through browser it connects to xsjs but the changes are not there, it seems it's opening the old file.

As I am new to SAP UI5 so I think I am missing some basic step.

2

There are 2 best solutions below

1
On

after you changed the xsjs file, did you activate it? You need to setup your workspace for the xs app. Did you?

Actually, this is not sapui5 question. This is a HANA XS application related question.

-D

0
On

Go to HANA client installation folder, run the following command line to get the help for HANA content activation:

C:\Program Files\sap\hdbclient>regi help activate

Action:

activate

What:

inactiveObjects (all inactive objects in the current workspace)
package (all objects in a package)
packages (all objects in a package and its sub-packages)
trackedPackages (all objects in all tracked packages and their sub-packages)
object (specific objects)

Call "regi help activate <WHAT>" for more information.