Upload photo

Aug 21, 2012 at 4:28 PM

Can this web part be used to upload photos to the AD photo attribute?

Coordinator
Aug 27, 2012 at 1:07 PM

It's not possible now. I'm working on it and it will be available for the next version.

Regards,

Alexis

Sep 12, 2012 at 11:13 AM

This woul be very very helpful. Any plans when it will released?

Thanks and regards

Coordinator
Oct 1, 2012 at 12:29 PM

Good progress made last week. It should be ready in a few days :)

Coordinator
Oct 3, 2012 at 11:12 PM

The new version is out with thumbnailPhoto editing capacity. Give it  a try!

Mar 8, 2013 at 8:25 AM
Hi
I've tried the new version (2.1) but cannot see a way to add a photo. Does someting need to be added to Parameters?
Thanks
Coordinator
Mar 9, 2013 at 3:28 AM
Hi,

You have to add this in the webpart parameters (in "AD Properties") and save:
<property adname="thumbnailPhoto" name="Photo" type="image" />

Next time you reload, a new field withe the ability to add a picture will appear.

Regards,

Alexis
Nov 18, 2014 at 2:08 PM
Edited Nov 18, 2014 at 2:09 PM
Great tool!
Is there a possibility to change the default picture size?
Pictures are now resized to 128x128. We would like to have different values there.
Coordinator
Nov 18, 2014 at 3:52 PM
It's currently not possible.
I've added your request to the whishlist : https://nominesptools.codeplex.com/workitem/10816
It'll be added as soon as I have some time...
Nov 19, 2014 at 7:27 AM
We have an issue with editing birthdays. The AD Attribute is 'employeeAnniv'. In AD the value looks like for example '197808120000000.0Z'.
In Edit mode like this:
Image
In the Webpart User configuration the following line exists:
<property adname='EmployeeAnniv' name='Geboortedatum' type='date' />
In the tool there is a calendar button next to the birthdaybox, but there is no date in it and all of the next fields stay empty.
When entering a birthday date, the following error appears:

System.DirectoryServices.DirectoryServicesCOMException (0x8007200B): The attribute syntax specified to the directory service is invalid. at System.DirectoryServices.DirectoryEntry.CommitChanges() at ADUserEditorWebpart.ADuserEditorWebpart.ADuserEditorWebpart.apply_Click (Object sender, EventArgs e)
Coordinator
Nov 19, 2014 at 8:04 AM
Is it a custom attribute you've created? It seems that this attribute type doesn't match the expected format, which is the same as accountExpires : http://msdn.microsoft.com/en-us/library/cc221084.aspx
Nov 19, 2014 at 8:13 AM
Yes, it's custom created.
That is very useful info. Thank you!
Nov 19, 2014 at 8:25 AM
Edited Nov 19, 2014 at 8:28 AM
But adding <property adname='accountExpires' name='Test' type='date' /> gives me this:

System.Xml.XmlException: There are multiple root elements. Line 1, position 715. at System.XML.XmltextReaderImpl.Throw etc
Coordinator
Nov 19, 2014 at 2:46 PM
Have a look at your XML config syntax: You should add this element before tle last closing tag.
Could you create another topic if you have some more questions as this is not related with the photo attribute.
Nov 20, 2014 at 6:41 AM
Thank you, will do.
You had it right about the closing tag not being the last part of the xml config. Thanks again.