You can accomplish this some other ways, but this is the most straight forward I think. Create the list using the name you want for the url and then change the name of the list to what you want it to be displayed by.
- Use the Create List task to create the list
- For the title, enter the name you want for the url, in this case "sample1"
- Next, use the call web service and use the UpdateList method.
- Enter the GUID for the listName
- Enter <List Title="Sample 1" /> into the listProperties field
Here is a screenshot of what my Call Web Service looks like:
Alternatively, you could enter the display title in the create list task and then change the "RootFolder" property with the call web service.
Reference of all properties that can be edited:
Lists.UpdateList Method (Lists)
Thanks Patrick. Is there an easy way to get the list Name (in GUI ID format) to populate the listName or can I use the actual list name? I did not see a field for storing the result in the Create List task.
The fastest way to get the GUID for a list is to click the list settings on the menu. Then copy the URL variable called list.
Then past that into a URL decoder, I use this one
URL Decoder/Encoder
You should then receive the formatted GUID:
Any way to get that when the list is created? It would be similar to returning the list item ID when creating an item.