Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Create Task Items With Custom List Dataview

  Asked By: Ttra    Date: May 29    Category: Sharepoint 2010    Views: 8431

I created 2 custom lists in Sharepoint 2010:

List #1: INTERNAL PROCESSES (fields: Process Title, Reference)

List #2: PROCESS STEPS (fields: Step Title, Step Description, Process Title[lookup of 1 item in previous list], Department Assigned)

I created an action in the display form for list INTERNAL PROCESSES called "Create Instance"...when user clicks on it, redirects user to

(I couldn't find a way to pass the title instead of the ID in the querystring...)

Up to here is what I have done so far.
Now, I need to accomplish the following in mypage.aspx

1) lookup in INTERNAL PROCESSES using processID received in queryString, if field Reference is not NULL, ask user to enter a value for Reference

(eg. if Reference contains the word "Member", ask user to enter the Member Name)

2) get Process Title from list INTERNAL PROCESSES for processID received in querystring

3) For each list item in PROCESS STEPS where field Process Title matches Process Title looked up in step#2 , create a new TASK list item with the

following values:
a) TASK Title = Step Title + Value entered in step#1 (if any)
b) TASK Description = Step Description
c) TASK Assigned to = Department Assigned

I'd like to avoid using code, if at all possible because I've never done it, if code is required please point me in the right direction...thanks!



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Create Task Items With Custom List Dataview Or get search suggestion and latest updates.