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.
我有一个SAP UI5应用程序项目,其中一个页面是product.html和一个xsjs文件getProductCat.xsjs。现在我在记事本中对HTMl页面进行了一些更改。当我尝试在HANA的Web浏览器中打开时,会发生更改,但无法连接到xsjs文件。但是,如果我尝试通过浏览器打开它连接到xsjs但更改不存在,它似乎打开旧文件。
As I am new to SAP UI5 so I think I am missing some basic step.
由于我是SAP UI5的新手,所以我想我缺少一些基本步骤。
2 个解决方案
#1
1
Go to HANA client installation folder, run the following command line to get the help for HANA content activation:
转到HANA客户端安装文件夹,运行以下命令行以获取HANA内容激活的帮助:
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.
#2
0
after you changed the xsjs file, did you activate it? You need to setup your workspace for the xs app. Did you?
更改xsjs文件后,您是否激活了它?您需要为xs应用程序设置工作区。你是否?
Actually, this is not sapui5 question. This is a HANA XS application related question.
实际上,这不是sapui5的问题。这是与HANA XS应用程序相关的问题。
-D
#1
1
Go to HANA client installation folder, run the following command line to get the help for HANA content activation:
转到HANA客户端安装文件夹,运行以下命令行以获取HANA内容激活的帮助:
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.
#2
0
after you changed the xsjs file, did you activate it? You need to setup your workspace for the xs app. Did you?
更改xsjs文件后,您是否激活了它?您需要为xs应用程序设置工作区。你是否?
Actually, this is not sapui5 question. This is a HANA XS application related question.
实际上,这不是sapui5的问题。这是与HANA XS应用程序相关的问题。
-D