![]() ![]() The Screenlet sends the user portrait to the portal. When editing the portrait, the Screenlet supports the following offline mode Use this policy to save bandwidth and loading time in the event a local (but probably outdated) portrait exists. If it doesn’t exist there, the Screenlet requests the portrait from the portal and uses the listener to notify the developer about any connection errors. If the portrait exists in the local cache, the Screenlet loads it from there. Use this policy to show the most recent portrait when connected, but show a potentially outdated version when there’s no connection. If the portrait doesn’t exist there, the Screenlet uses the listener to notify the developer about the error. If a connection issue occurs, the Screenlet retrieves the portrait from the local cache. The Screenlet displays the portrait to the user and stores it in the local cache for later use. The Screenlet loads the user portrait from the portal. Use this policy to show local portraits, without retrieving remote information under any circumstance. If the portrait isn’t there, the Screenlet uses the listener to notify the developer about the error. The Screenlet loads the user portrait from the local cache. Use this policy when you always need to show updated portraits, and show the default placeholder when there’s no connection. If the Screenlet loads the portrait, it stores the received image in the local cache for later use. If a connection issue occurs, the Screenlet uses the listener to notify the developer about the error. When loading the portrait, the Screenlet supports the following offline mode For more information on how offline mode works, see the This Screenlet supports offline mode so it can function without a networkĬonnection. The User Portrait Screenlet needs the following user permissions: Screenlet calls the following services and methods. Screenlets in Liferay Screens call JSON web services in the portal. The ScreenletĪllows the profile picture to be edited via the editable property. If a userĭoesn’t have a profile picture, a placeholder image is shown. The User Portrait Screenlet shows the users’ profile pictures. Liferay Portal 6.2 CE/EE, Liferay CE Portal 7.0/7.1, Liferay DXP 7.0+.Android SDK 4.1 (API Level 16) or above. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |