Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Perform Multiple Searches and Select Users for ListBuilder Component

Created: 22 Feb 2013 • Updated: 25 Feb 2013 | 10 comments
This issue has been solved. See solution.

I watched the video on searching for AD users by last name and am able to implement that in my workflow.  I can also select multiple users from a single search result.  What I would like to do is select users from more that one search result.  I like the ListBuilder as it allows me to Add or Remove users within a list, however, I'm not sure how to perform individual searches and then add the selected user from the result into the ListBuilder?  I also thought it would be nice to be able to perform a search within the ListBuilder and click Add for the user found, but am not sure if that is possible.

I was able to select a user within the search on one form and then have it populate the ListBuilder on a second form.  I then tried to go Back to do a new search and got an error about it being an array element.

Any ides would be appreciated!

Thank you,

Cindy

Operating Systems:

Comments 10 CommentsJump to latest comment

michael.george's picture

I'm honestly not sure I'm following the situation here. Could you post your workflow or some pseudo-code to help me understand the situation and desired result a bit better?

If a post solves your issue, please mark it as a solution. It makes these forums better for everyone.

Tijanbah74's picture

I'm honestly not sure I'm following the situation here. Could you post your workflow or some pseudo-code to help me understand the situation and desired result a bit better?

Tijanbah74's picture

I was able to select a user within the search on one form and then have it populate the ListBuilder on a second form.  I then tried to go Back to do a new search and got an error about it being an

SyncUp's picture

My goal is to have users submit a request to add a new AD group and include the members they would like added to the group.  I am focusing on the members portion of the request and would like them to be able to search for a user, display the user's name, department and title so that the requestor is certain they are selecting the correct user.  Since there will be more than one user selected, present a listing of everyone that has been selected along with the ability to remove someone if they should not be included.

I thought the Listbuilder would be a good way to go except I wasn't crazy about the Add button since I want the requestor to use a search to add a member to the list.  I put together the attached workflow which uses a grid and a remove button.  The only thing I would like to do now is not have so many screens.  If I could get the department and title to display on the same screen as the search, then I think that should be all I need.

I am new and this is my first attachment so let me know if it isn't in the right format.

Thank you for your help!

AttachmentSize
ADGroupMembers.zip 2.69 KB
michael.george's picture

That attachment doesn't appear to be complete. Can you zip up the whole project directory for me? Alternately, you can remove sensitive info (AD passwords and what-not) and publish to a zip folder from the publish menu option.

If a post solves your issue, please mark it as a solution. It makes these forums better for everyone.

SyncUp's picture

I used the Publish Project icon and selected Create Publishing Zip File.

AttachmentSize
ADGroupMembers.zip 129.14 KB
b3tts32's picture

I wasn't able to open the original attachment due to my being an older version. Essentially what I've done before is list box components and used two output paths to server as my add and remove buttons. You will want to initialize an array for your new list of selected users before you get to your form. You will then point your second list box input to the array you initialized to begin the project. Then on your search form your selected item will follow the add path to the "add item to collection" component to get the user added to your initial array new list array. Route that component back up to your form and you will see in your 2nd listbox the selected user added. I've attached the concept just using the text data type. Let me know if you have any issues.

AttachmentSize
test3.package 145.28 KB
michael.george's picture

Agreed. The problem here stems from using 3 form builder components when 1 will do. I didn't actually fill everything in, but these screenshots show what I mean. A similar approach to b3tts32, but a little different maybe and still using the remove grid item button.

And for the form builder itself:

Screen Shot 2013-02-25 at 9.12.02 AM.png Screen Shot 2013-02-25 at 9.12.25 AM.png

If a post solves your issue, please mark it as a solution. It makes these forums better for everyone.

SOLUTION
SyncUp's picture

Thank you so much for the suggestions.  I really like the look of the test3 package, but am not sure how I would perform a search in order to add items in the right hand column.  It seems like this is better suited for a pre-populated list.

I was able to get the search and grid all on the same page which is exactly what I was looking for.

b3tts32's picture

Yeah there are just a few differences but here's a reference with the AD stuff tied in. You'll have to update the project properties.

AttachmentSize
test3.package 167.1 KB