file2Xml
一个将文件转换成Studio导出的xml格式的工具
通过此工具可以将本地文件转换成xml格式文件,然后通过Studio导入到服务器中,而不再需要其他工具将文件传至服务器。
下面以为ensemble2016自带的一个示例界面增加背景图为例。
http://localhost:57772/csp/samples/cinema/Cinema.csp
.png)
1.选择数据版本信息并录入web应用程序(SMP--系统--安全管理--Web 应用程序)
确定此示例界面的Web应用程序为:/csp/samples
.png)
2.点击“选择文件”,选择需要转换的文件
选择本地电脑要作为背景图的图片
.png)
3.录入每个文件导入后相对于web应用程序的路径和导入后的文件名
.png)
想要放到cinema下,故相对于web应用程序的路径为:cinema
想要将文件命名为:search_bg.jpg
.png)
4.勾选最终需要转换的文件,并点击“转换”
.png)
5.录入转换出的xml文件名,点击“确定”
.png)
6.转换出的xml文件就可以通过Studio直接导入库中了
.png)
.png)
然后修改下Search.csp的样式代码,就可以使用此背景图了
.png)
.png)
工具地址:
Most popular "
To round up this newsletter, please find new ideas with "Needs review" status. InterSystems experts regularly triage and analyze new ideas. Vote for ideas you like and comment on them to show your interest.