Drop down list of all email distribution lists in portal

Thereza Van der
Tera Contributor

Good afternoon all 🙂

 

I have a question about our Service Catalog. I attached screenshots for easy understanding.

 

The catalog item is 'Email distribution list'. One of the options beneath it is to add members to an existing distribution list. Currently the name of the distribution list has to be typed in manually as it is a single line text box. I want to make it a drop down from which the distribution list can be added.

 

The information comes from AD via LDAP. The names of the users that need to be added to the distribution list is working fine, it is a dropdown from which you can choose multiple users. I need the group_name (distribution list) to work the same.

 

Any assistance would be appreciated.

 

 

Regards

Thereza

EmailDistributionList1.png

EmailDistributionList2.png

EmailDistributionList3.png

   

3 REPLIES 3

AshishKM
Kilo Patron
Kilo Patron

Hi @Thereza Van der ,

 

The Group Name, is list collector type means data is comming from some source table. ( Similar to Group Members )

I am referring here, Group Name field should be reference type of group table ( sys_user_group ) where all the

groups are listed, this should not be list collector type otherwise user can select more groups in the same field.

 

You can try to change the field type as reference for Group Name and point to Groups [ sys_user_group] table on Type Specification tab. 

Let us know if we are on same page and this change work for you.

 

-Thanks,

AshishKM

 

 

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Good day Ashish 🙂

 

Thanks for the recommendation. I think I might not have explained good enough. The group names that I want the users to be able to choose are the names of the distribution email lists on Outlook that we get from AD through LDAP, the same as we get all users names from through LDAP from our Active Directory.

 

I hope I am making sense?

 

I thought it would work sort of the same way that the group_members work. That is the list we get from AD which is stored in sys_user.

 

I attach a screenshot of a few distribution lists which are on Outlook.

 

 

Regards

t

Is there any way you can pull all DL .. from LDAP source and add in the Group Name column. 

You might need onLoad script with GlidAjax call to script include which is reading and returning these DL.


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution