?
Solved

SharePoint Designer - how to

Posted on 2009-05-12
6
Medium Priority
?
375 Views
Last Modified: 2012-05-06
I have List A and it has a Multiple Value Data Lookup field to List B.

I have a SharePoint Designer Workflow that is attached to List A, and upon Creation it Create New Item in a new List C.  The purpose of List C is just to be a smaller most recent copies of List A.

However, when there is more than one item in the Data Lookup field (Item1;Item2;Item3;Item4)  then I need it to create a new item in List C for "each of those data lookup values.  So I need it to create 4 new records in List C for the last example.

I created a new Multi-line text field and in the Workflow have the Data Lookup field copied to it assuming that I will next need to somehow parse and copy each line of data prior to the " ; " that separates them.

Anyone know how I can do that with SharePoint Designer?
0
Comment
Question by:MSI-Linda
  • 3
  • 2
5 Comments
 
LVL 21

Expert Comment

by:66866
ID: 24375503
I don't think this is possible using SPD, I would recommend using Visual Studio since this is much simpler using code.
0
 

Author Comment

by:MSI-Linda
ID: 24376247
I am a SharePoint Architect, I am not a developer.  My customer requires everything be done with SPD so that they can support it afterwards.

From what I have read and tried so far, this should be able to be done using SPD, since I am able to create the ONE record copy, I should logically be able to create 3 more copies pulling the parsed value for the other records.

Are there any SharePoint Designer (SPD) experts please??
0
 
LVL 21

Expert Comment

by:66866
ID: 24376929
You have to understand one thing, SPD is a very powerful tool for creating client side applications (including webparts and workflows). It does not have the ability to read a value and perform the kind of parsing that you have requested. Even to accomplish this, you'll have to create custom Javascript codes on the workflow initiation page so that it can parse the value.
Anyway, I am curious to see what other experts have that can help you out.
0
 

Accepted Solution

by:
MSI-Linda earned 0 total points
ID: 24380457
Actually I found the solutions myself and I can do this using SPD.  I just had to copy the Multi-value Data Lookup field to a Muti-line text field. Then I created Formula fields that check to see if it "contains" each server name.
Then I had to install this CodePlex addition for SPD workflows here that allows me to copy an Item and overwrite the existing item.  http://spdactivities.codeplex.com/
 
0
 
LVL 21

Expert Comment

by:66866
ID: 24384571
I am glad for you :-)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question