Loading ...

cant delete user photo uploaded via API | Communifire Support

Home » Spaces » Communifire Support » forum » Communifire API & Developers » cant delete user photo uploaded via API
Communifire Support

Leave Space :

Are you sure you want to leave this space?

Join this space:

Join this space?

Add a new tab

Add a hyperlink to the space navigation. You can link to internal or external web pages. Enter the Tab name and Tab URL. Upload or choose an icon. Then click Save.

The name that will appear in the space navigation.
The url can point to an internal or external web page.
Login to follow, share, and participate in this space.
Don’t have a support community login?Create your account now
Posted in: Communifire API & Developers

cant delete user photo uploaded via API

Subscribe to RSS
  • eboone

    Hi,

    We are trying to auto populate user photos from our HR system when creating their account. The photo is getting uploaded and set successfully. But if the user wants to change the picture the x in the top right of the photo profile to remove it doesn't work.

    How can I get this working?

  • gskamau

    Hey Eric,

    Is an error printed to the browser console when the user clicks the X? To check, right-click the page, select Inspect, and click the Console tab.

    Grace

  • eboone

    Hey Grace,

    Connection connected CommunityMasterSetTwoScripts.min.js:1:5313

    and

    A call to document.write() from an asynchronously-loaded external script was ignored. wordimport.js:8:29

    are on pageload

    and when i click the x i get

    Empty string passed to getElementById(). jquery.min.js:2:23967

     

    screen shot attached

    Attachments
  • gskamau

    Hey Eric,

    Try using a different browser. Are you able to remove the profile photo?

    Grace

  • eboone

    Attached a screen shot of the console log in Chrome.

    There is a pat your head and rub your belly solution.
    - click the picture
    - upload a new picture
    - click save
    - click save
    - don't click save because you will get an error like in saver-error.jpg, so click the x instead
    - then click save

  • gskamau
    Answered

    Hey Eric,

    The app pool user needs read/write permissions for the Assets folder:

    Navigate to the /Assets folder in Windows Explorer, right click the folder > Properties > Security > Add IIS Apppool\<apppoolname> and mark Modify permissions for this user.

    Grace

Page 1 of 1 (6 items)