on 2009 Jul 15 9:16 AM
在CRM2007的Web GUI上 Configuration tab 如果不显示的时候怎么办?这个是我在最近做问题的时候,碰到的一个现象,客户追加了一个Component ,然后又通过component workbench 追加了一个view在Component 里,然而却看不到configuration tab。客户可以看到model attributes that they added to the view appearing in the .htm page as thtmlb tags.
这个时候需要去检查下边的Coding in the HTML page of your view
<%@page language="abap"%>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@ extension name="chtmlb" prefix="chtmlb"%>
<%
DATA: LV_XML TYPE STRING.
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
%>
<%--<thtmlb:toolbar id = "toolbar"
buttons = "<%= CL_CHTMLB_CONFIG_UTILITY=>GET_BUTTONS_FROM_CONTROLLER( controller ) %>"
foreignUse = "true"/>--%>
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
如果上边的Coding 不存在,请追加它,这样Configuration tab 就会显示出来。
希望这个会有帮助。
昭杰
<%@page language="abap"%>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@ extension name="chtmlb" prefix="chtmlb"%>
<%
DATA: LV_XML TYPE STRING.
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
%>
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
只有这几句话是有用的
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
这个是把页面的配置信息通过xml的方式输出出来
如果在这里下断点就可以看到页面配置的xml格式输出
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
这个是把配置信息翻译成html显示出来
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
25 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.