Solved

SharePoint Designer - how to

Posted on 2009-05-12
6
326 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
6 Comments
 
LVL 21

Expert Comment

by:66866
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
I am glad for you :-)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now