By: Ramkumar Chandrasekaran user 02 May 2017 at 11:49 a.m. CDT

8 Responses
Ramkumar Chandrasekaran gravatar
We are able to add custom attributes - attr1, attr2 using custom.schema. Also we have registered the new attributes using admin portal-oxtrust. We have added the mapping using Configuration JSON Configuration->oxTrust import person configuration for attr1 and attr2. After importing using excel sheet from Configuration-> Import People option successfully. The custom attr1 and attr2 is not assigned to users. The default attributes are created successfully. Please let us know what configuration is needed to save custom attributes using import option. Regards Ramkumar.C

By Sahil Arora user 02 May 2017 at 6:13 p.m. CDT

Sahil Arora gravatar
Hi Ramkumar, Can you please check for any error in logs. I was able to use import functionality adding custom attribute from excel file without any issue.

By Ramkumar Chandrasekaran user 02 May 2017 at 7:14 p.m. CDT

Ramkumar Chandrasekaran gravatar
I checked in identity/logs file:- May 02, 2017 6:02:37 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd WARNING: 'for' attribute cannot be null May 02, 2017 6:05:07 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd WARNING: 'for' attribute cannot be null May 02, 2017 6:06:33 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd WARNING: 'for' attribute cannot be null May 02, 2017 6:06:42 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd WARNING: 'for' attribute cannot be null Should I check in any other location. Thanks Regards Ramkumar.C

By Sahil Arora user 02 May 2017 at 7:54 p.m. CDT

Sahil Arora gravatar
These warnings can be ignored. Check in any other ERROR messages in *stderrout.log, and please share sample excel file that was used to import.

By Ramkumar Chandrasekaran user 05 May 2017 at 4:08 p.m. CDT

Ramkumar Chandrasekaran gravatar
I am not able to upload the excel sheet. These are below attributes imported to Gluu xTrust option. Username First Name Last Name Email Password attr1 attr2 attr3 abc Fbc Lbc em@t.com canigetin abc abc abc I have done necessary changes to Configuration JSON Configuration->oxtrust import person configuration. But the import is working for Username,First Name,Last Name,Email and Password. Thanks Ramkumar.C

By Sahil Arora user 05 May 2017 at 6:09 p.m. CDT

Sahil Arora gravatar
Hi Ramkumar, I've tried spreadsheet with following content, and its working fine. Username First Name Last Name Email Password attr1 attr2 Can you please make sure attr1,attr2 and attr3 are ACTIVE. Are you manually able to assign attributes to user?

By William Lowe user 19 May 2017 at 12:31 p.m. CDT

William Lowe gravatar
Ram, I am re-opening this issue. Please provide information about what is not working, and the steps we can take to reproduce. Thank you, Will

By William Lowe user 24 May 2017 at 9:17 a.m. CDT

William Lowe gravatar
Ram, can you please provide an update on the status of this ticket? Thanks, Will

By Ramkumar Chandrasekaran user 30 May 2017 at 11:53 a.m. CDT

Ramkumar Chandrasekaran gravatar
Please close the ticket. Based on discussion, we understood that import option may work only for default fields, and we have taken the approach of SCIM api to update custom attributes. Thanks Regards