How is account image maintained in CRM rendered in Fiori
Created by Jerry Wang, last modified on Jun 18, 2015
Upload an attachment for account and maintain attribute as below:
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-9yM9Wr1T-1628158658645)(https://user-images.githubusercontent.com/5669954/27519051-c01a61e4-59ec-11e7-9297-e7f676ab869d.png)]
Once header ETAG is refreshed, the function bindS3Header is called as callback:
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-Utmc3Qqf-1628158658647)(https://user-images.githubusercontent.com/5669954/27519054-c020d650-59ec-11e7-9c7c-1fc56222069b.png)]
Everytime bindS3Header is called, the logo will be retrieved from backend:
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-OLt0JU1S-1628158658648)(https://user-images.githubusercontent.com/5669954/27519053-c01f5bd6-59ec-11e7-9487-cd6584839898.png)]
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-acUonJBr-1628158658649)(https://user-images.githubusercontent.com/5669954/27519105-58cd5838-59ed-11e7-8e30-f701653c4a6a.png)]
refresh the model, so that the latest logo could be displayed in Fiori correctly:
一直到3767執行完,network里都觀察不到對$value的引用。
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-u3fBfXJu-1628158658652)(https://user-images.githubusercontent.com/5669954/27519058-c034ca52-59ec-11e7-839a-2857670d72eb.png)]
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-iRmgQseW-1628158658653)(https://user-images.githubusercontent.com/5669954/27519059-c038b28e-59ec-11e7-93ad-26b6ce6b9561.png)]
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-HrFl8RAE-1628158658654)(https://user-images.githubusercontent.com/5669954/27519060-c039e0d2-59ec-11e7-9a4c-e92fc4cdf688.png)]
https://code.google.com/p/chromium/issues/detail?id=272725
sometimes it works:
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-evArGI4T-1628158658656)(https://user-images.githubusercontent.com/5669954/27519062-c04843e8-59ec-11e7-8f53-e05d3d2750b9.png)]
runtime debug:
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-Ah7J6vnW-1628158658657)(https://user-images.githubusercontent.com/5669954/27519064-c04e9f90-59ec-11e7-9a73-ce9a4dab3ff4.png)]
tmp.innerHTML:
<div id="__xmlview3--opportunityHeader" data-sap-ui="__xmlview3--opportunityHeader" class="sapMOH" role="region" aria-labelledby="__xmlview3--opportunityHeader-titleText-inner"><div class="sapMOHTopRow"><div id="__xmlview3--opportunityHeader-titlediv" class="sapMOHTitleDiv sapMOHTitleIcon"><div class="sapMOHIcon"><img src="https://DEWDFGWD01082:2030/sap/opu/odata/sap/CRM_OPPORTUNITY/A…4C8B6241ABA3',documentClass='BDS_POC1',businessPartnerID='4031140')/$value" id="__xmlview3--opportunityHeader-img" data-sap-ui="__xmlview3--opportunityHeader-img" class="sapMImg" role="presentation" alt="" tabindex="-1" style="width:3rem;height:3rem"></div><span id="__xmlview3--opportunityHeader-title" class="sapMOHTitle"><h1><span id="__xmlview3--opportunityHeader-titleText" data-sap-ui="__xmlview3--opportunityHeader-titleText" class="sapMText sapMTextMaxWidth sapUiSelectable" style="text-align:left"><div id="__xmlview3--opportunityHeader-titleText-inner" class="sapMTextLineClamp sapMTextMaxLine" style="-webkit-line-clamp:3">created by code on:170919</div></span></h1></span></div><div id="__xmlview3--opportunityHeader-numberdiv" class="sapMOHNumberDiv"><div id="__xmlview3--opportunityHeader-number" data-sap-ui="__xmlview3--opportunityHeader-number" dir="inherit" class="sapMObjectNumber sapMObjectNumberStatusNone" style="text-align:right" aria-labelledby="__xmlview3--opportunityHeader-number-state"><span class="sapMObjectNumberText">0,00</span><span class="sapMObjectNumberUnit"></span></div></div><div class="sapMOHDivider"></div></div><div class="sapMOHBottomRow"><div class="sapMOHAttrRow"><div class="sapMOHAttr" style="width:100%"><div id="__xmlview3--opportunityProspectName" data-sap-ui="__xmlview3--opportunityProspectName" tabindex="0" class="sapMObjectAttributeActive sapMObjectAttributeDiv" role="link"><span id="__xmlview3--opportunityProspectName-text" class="sapMObjectAttributeText">Prof. Jerry Wang 610092 610092 CHENGDU chengdu</span></div></div></div><div class="sapMOHAttrRow"><div class="sapMOHAttr" style="width:100%"><div id="__xmlview3--opportunityContactName" data-sap-ui="__xmlview3--opportunityContactName" tabindex="0" class="sapMObjectAttributeActive sapMObjectAttributeDiv" role="link"><span id="__xmlview3--opportunityContactName-text" class="sapMObjectAttributeText">Jerry ABAP AL 61000</span></div></div></div><div class="sapMOHAttrRow"><div class="sapMOHAttr" style="width:100%"><div id="__attribute5" data-sap-ui="__attribute5" tabindex="0" class="sapMObjectAttributeActive sapMObjectAttributeDiv" role="link"><span id="__attribute5-text" class="sapMObjectAttributeText">Prof. Jerry Wang 69190 Walldorf</span></div></div></div><div class="sapMOHDivider"></div></div><div class="sapMOHLastDivider"></div></div>"通過Chrome network觀察到雖然在column下面只能看到$value, 但是鼠標放上去后通過tooltip仍然可以看到完整的url。
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-HstVbVUv-1628158658659)(https://user-images.githubusercontent.com/5669954/27519049-c019bd52-59ec-11e7-91b7-5ba79ae9d277.png)]
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-HOyAZrBF-1628158658660)(https://user-images.githubusercontent.com/5669954/27519113-827e476e-59ed-11e7-8a1d-cb8ec87efbd7.png)]
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-EtFb0GcO-1628158658661)(https://user-images.githubusercontent.com/5669954/27519116-974c2cf6-59ed-11e7-893f-f63153dc986e.png)]
總結
以上是生活随笔為你收集整理的How is account image maintained in CRM rendered in Fiori的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【算法分析】实验 1. 基于贪心的会议安
- 下一篇: SAP WebIDE destinati