To update and view a user profile image on SAIL form

Hi All,

Is there a way where a user can upload and update his profile picture , and after uploading ,he/she can view the photo which was uploaded in a SAIL form.

The functionality is similar to what we usually do to update profile details in settings.

  Discussion posts and replies are publicly visible

Parents
  • Hi Larsen - 

    You can build your own preview step sub component as a part of this operation.

    When a user uploads the the image - you could design your application such that the image is saved to a folder that is intended only for temporary use.  Once the image file is saved in that temporary folder - it can be displayed to the user.

    In the event that your user abandons the form, you can use an exception timer in process to clean up the folder and the file.
    If the user cancels the process or rejects the image, similarly you can delete the file and folder before it goes to the users profile.
    If the user continues, you can use the User Profile Picture Utilities to update the photo.

Reply
  • Hi Larsen - 

    You can build your own preview step sub component as a part of this operation.

    When a user uploads the the image - you could design your application such that the image is saved to a folder that is intended only for temporary use.  Once the image file is saved in that temporary folder - it can be displayed to the user.

    In the event that your user abandons the form, you can use an exception timer in process to clean up the folder and the file.
    If the user cancels the process or rejects the image, similarly you can delete the file and folder before it goes to the users profile.
    If the user continues, you can use the User Profile Picture Utilities to update the photo.

Children