Solved

SharePoint Designer - how to

Posted on 2009-05-12
6
352 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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