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:

How is account image maintained in CRM rendered in Fiori

一直到3767执行完,network里都观察不到对$value的引用。

How is account image maintained in CRM rendered in Fiori

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(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:

How is account image maintained in CRM rendered in Fiori

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(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)]


How is account image maintained in CRM rendered in Fiori

tmp.innerHTML:

How is account image maintained in CRM rendered in Fiori


1

通过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)]


上一篇:ButtonRenderer


下一篇:new Fiori 2.0 theme sap_belize