如何使用配置的方式修改SAP C4C UI的欄位標籤,以及背後的工作原理
I was asked by one partner that it is expected to adapt the label of “New” button into “Add”, and change the text of first menu item from “Add” to “From Contact”.
Here below is detail step how to achieve this requirement.
(1) Work center Administrator, General Settings->Language Adaptations:
Create a new Language Adaptation:
Select the Work center view where the button and menu item resides in:
Click Edit button and then click button “Collect Texts”:
(2) Now you could do actual text adaptation. Do filtering by “New” keyword and restrict UI Element Type to only display Button to avoid too many items with Source Text equals to “Add”. Since there are lots of “New” button defined within this work center view, so you have to also use column “UI Short Name” to identify the very button in Contact OWL toolbar.
Replace “Add” with “From Contact” as well.
Write down the ID of this text for later usage: igVref5FuaY1LnI6tdBKZm
How Text adaptation works under the hood
In the runtime the adapted text works as expected.
Neither the original text shipped by SAP nor the adapted text is directly bound to menu item. Instead, there is a binding existed to connect an instance of UI text pool with the text property of menu item.
Copy the source code of COD_Account_TI from HTTP response in the network tab of Chrome development tool and search by ID igVref5FuaY1LnI6tdBKZm:
One entry for text pool instance found:
And in the runtime, we can see the text property of menu item is bound to this text pool instance:
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2724395/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何定製化Fiori標準應用裡UI欄位的標籤UI
- 如何修改 SAP UI5 框架的原始碼實現,以及使用本地部署的 SAP UI5 SDK 試讀版UI框架原始碼
- SAP UI5 Negative cache的工作原理UI
- php去掉欄位文字的所有html標籤PHPHTML
- SAP Fiori Elements 在本地測試模式下如何修改 List Report 裡欄位標籤和圖示模式
- SAP 電商雲 Spartacus UI 的 urlParameter 配置原理UI
- SAP UI5 的 sap-ui-bootstrap script 指令碼標籤各屬性解析UIboot指令碼
- SAP CRM calculated欄位的實現原理講解
- SAP Spartacus 預設路由配置的工作原理路由
- [譯] JavaScript 是如何工作的:CSS 和 JS 動畫背後的原理 + 如何優化效能JavaScriptCSSJS動畫優化
- SAP Fiori Launchpad頁面在伺服器端的配置背後的實現原理伺服器
- SAP CAP Fiori Elements 應用配置 UI 的兩種方式以及自定義 index.htmlUIIndexHTML
- oracle clob欄位去除html標籤OracleHTML
- com.sap.ui5.resource.ResourceServlet的工作原理介紹UIServlet
- SAP UI5 CSS 類 sapUiSmallMarginEnd 的工作和新增原理UICSS
- SAP WebClient UI頁面標籤的決定邏輯介紹WebclientUI
- JSTL各個標籤的解析以及使用JS
- SAP 迴圈配置中的統計指標修改指標
- SAP C4C 2102版本如何使用Key User Tool建立擴充套件欄位 - extension field套件
- SAP不同的產品是如何支援使用者建立自定義欄位的
- SQL Server複製的表中如何修改欄位SQLServer
- firewalld: 背後的原理(nftables)
- HTML標籤(基本標籤的使用)HTML
- java <%!%>標籤和<%%>標籤的使用Java
- 如何給SAP Cloud for Customer UI上的欄位新增自定義校驗邏輯CloudUI
- 修改表的欄位型別型別
- 修改oracle的約束欄位Oracle
- 修改labelme標註的標籤名
- 如何用程式碼的方式取出SAP C4C銷售訂單建立後所有業務夥伴的資料
- 檢視SAP CRM和C4C的UI technical資訊UI
- SAP CRM Genil Text-for-Key-Codes vs SAP C4C只讀欄位
- 如何手動透過增強的方式,給 SAP ABAP 資料庫表增添新的欄位資料庫
- 易優field獲取channelartlist標籤的欄位值-EyouCms手冊
- 如何查詢SAP Fiori UI上某個欄位對應的底層資料庫表UI資料庫
- MySQL如何檢視新增修改表以及欄位註釋資訊MySql
- 如何把SAP CRM WebClient UI上某個欄位高亮加粗顯示WebclientUI
- 使用擴充套件技術將SAP Fiori應用隱藏動態建立的UI欄位套件UI
- oracle 修改表欄位的長度Oracle