Import photos from AD while glide.attachment.extensions is populated?

JeffPatt
Tera Expert

Has anyone had success in getting photos to import from AD when the glide.attachment.extensions System Property is populated? How to photos from Active Directory (AD) into ServiceNow using an LDAP Import - Support and Troubles... works a treat but fails as soon as the property is filled.

 

I've tried a few things like including file extension type in the name on the GlideSysAttachments and made sure the same extension is in the list, no dice.

 

It seems a bit silly that we can't get AD photos into ServiceNow without reducing security on an instance by opening up the list of attachable file types to include absolutely everything.

2 REPLIES 2

Jim Bland
Tera Contributor

Yeah we are having this issue as well, did you find a solution?

I have a thought on a workaround but have not tried it as hoping to find a direct resolution but it is to update the transform script to save it as a regular record attachment with a file extension, then update it afterwards back to the format of the field.

 

This should work as I have another Base64 import for something that does almost the same thing but between two tables. First as a record attachment then a BR on the related record copies it to the image field. 

Hi Jim, no solution as yet. I thought about doing something similar to what you've mentioned, gave up for time being as the endeavour isn't a business requirement (yet).