Comments on: SharePoint: Extending the DVWP – Part 8: Creating a Form Action Workflow – The After Math http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/ No GeekSpeak on SharePoint 2007 WSS and MOSS Mon, 27 Dec 2010 21:17:12 -0500 http://wordpress.org/?v=2.8.6 hourly 1 By: Jim Bob Howard http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-120038 Jim Bob Howard Wed, 22 Dec 2010 12:52:34 +0000 http://www.endusersharepoint.com/?p=8324#comment-120038 Dear Mia, Of course, you could copy/paste a range of Excel cells into a datasheet view. Hope that helps. Blessings, Jim Bob Dear Mia,

Of course, you could copy/paste a range of Excel cells into a datasheet view.

Hope that helps.

Blessings,
Jim Bob

]]>
By: Mia Yu http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-119994 Mia Yu Wed, 22 Dec 2010 07:39:55 +0000 http://www.endusersharepoint.com/?p=8324#comment-119994 Hi Jill, Thanks, This response give me confidence about Form Action Workflow solution. I also want to use web service to manipulate list, but i can only use javascript because IT restrict us to run server code like apsx code. Unfortunately my data is more than 20,000, so i still looking some batch or bulk solution. could you give me some suggestion ? I'm thinking using excel file or xml and directly insert itemlist to list folder in webservice. Do you think is this workable? Regards, Mia Hi Jill,

Thanks, This response give me confidence about Form Action Workflow solution. I also want to use web service to manipulate list, but i can only use javascript because IT restrict us to run server code like apsx code. Unfortunately my data is more than 20,000, so i still looking some batch or bulk solution. could you give me some suggestion ? I’m thinking using excel file or xml and directly insert itemlist to list folder in webservice. Do you think is this workable?

Regards,
Mia

]]>
By: Jim Bob Howard http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-118276 Jim Bob Howard Fri, 17 Dec 2010 12:57:52 +0000 http://www.endusersharepoint.com/?p=8324#comment-118276 Dear Mia, I don't see a problem with updating multiple items in a loop. Workflows do have a bit of timing overhead, but I've done it lots of times. For large numbers of updates, I've used SPServices (both synchronously and asynchronously) and haven't noticed any performance issues. I recently ran through almost 1000 active directory records via a web service; retrieved organization upline information for each user through recursive calls to that web service, then retrieved organizational downline information for each manager through recursive calls; pulled user profile information from SharePoint (also via a web service), compared each item with existing records in another SP list and wrote out the ones that were missing or needed to be updated. All told, there were probably 5 or 6 thousand web service calls, with just under 700 writes to SharePoint. It took about 10 minutes to run, but no errors, hangs, or corruptions. Hope that helps. Blessings, Jim Bob Dear Mia,

I don’t see a problem with updating multiple items in a loop. Workflows do have a bit of timing overhead, but I’ve done it lots of times.

For large numbers of updates, I’ve used SPServices (both synchronously and asynchronously) and haven’t noticed any performance issues.

I recently ran through almost 1000 active directory records via a web service; retrieved organization upline information for each user through recursive calls to that web service, then retrieved organizational downline information for each manager through recursive calls; pulled user profile information from SharePoint (also via a web service), compared each item with existing records in another SP list and wrote out the ones that were missing or needed to be updated. All told, there were probably 5 or 6 thousand web service calls, with just under 700 writes to SharePoint. It took about 10 minutes to run, but no errors, hangs, or corruptions.

Hope that helps.

Blessings,
Jim Bob

]]>
By: Mia Yu http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-118213 Mia Yu Fri, 17 Dec 2010 03:49:25 +0000 http://www.endusersharepoint.com/?p=8324#comment-118213 Hi , Thanks for sharing, i'm trying to use Form Action Workflow for multiple items update. But i wonder if it cause system resource problem like connection full or anything else when i run the form action workflow in javascript within a loop ??? Hi ,

Thanks for sharing, i’m trying to use Form Action Workflow for multiple items update. But i wonder if it cause system resource problem like connection full or anything else when i run the form action workflow in javascript within a loop ???

]]>
By: SharePoint: Extending the DVWP – Part 35: Putting it All Together, or | EndUserSharePoint.com http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-99626 SharePoint: Extending the DVWP – Part 35: Putting it All Together, or | EndUserSharePoint.com Tue, 14 Sep 2010 14:02:00 +0000 http://www.endusersharepoint.com/?p=8324#comment-99626 [...] them, we’ll open them up, see how they work, add a PreSaveAction(), add a  workflow, rearrange some things, and then fix what we [...] [...] them, we’ll open them up, see how they work, add a PreSaveAction(), add a  workflow, rearrange some things, and then fix what we [...]

]]>
By: Jim Bob Howard http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-92548 Jim Bob Howard Mon, 09 Aug 2010 12:35:54 +0000 http://www.endusersharepoint.com/?p=8324#comment-92548 Greg, That's great! I appreciate the effort you're taking to study these things. We'll all learn from the dialogue! Will check out Mark's and Jason's posts. Blessings, Jim Bob Greg,

That’s great! I appreciate the effort you’re taking to study these things. We’ll all learn from the dialogue! Will check out Mark’s and Jason’s posts.

Blessings,
Jim Bob

]]>
By: Greg http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-92072 Greg Sat, 07 Aug 2010 23:57:05 +0000 http://www.endusersharepoint.com/?p=8324#comment-92072 Hi Jim, Not sure if the post from Mark Rackley http://www.endusersharepoint.com/2010/01/06/outing-sharepoint-workflows-%e2%80%93-linking-to-workflows-in-list-views-and-item-displays/ would bring light to the 4 parametersbeing passed in workflowStart function? Seems that the 2nd GUID could be the Template GUID? Jason also had a different way to crack the nut in: http://www.endusersharepoint.com/2010/04/21/4-clicks-or-1-using-jquery-to-start-a-sharepoint-workflow/ As you can tell, I am re-reading your complete series! Greg Hi Jim,
Not sure if the post from Mark Rackley
http://www.endusersharepoint.com/2010/01/06/outing-sharepoint-workflows-%e2%80%93-linking-to-workflows-in-list-views-and-item-displays/
would bring light to the 4 parametersbeing passed in workflowStart function?
Seems that the 2nd GUID could be the Template GUID?

Jason also had a different way to crack the nut in:
http://www.endusersharepoint.com/2010/04/21/4-clicks-or-1-using-jquery-to-start-a-sharepoint-workflow/

As you can tell, I am re-reading your complete series!
Greg

]]>
By: SharePoint: Extending the DVWP – Part 10: Passing Workflow Variables to a Form Action Workflow | EndUserSharePoint.com http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-74760 SharePoint: Extending the DVWP – Part 10: Passing Workflow Variables to a Form Action Workflow | EndUserSharePoint.com Tue, 15 Jun 2010 21:34:38 +0000 http://www.endusersharepoint.com/?p=8324#comment-74760 [...] covered this syntax in more depth two articles ago. This time, we’re only going to look at the fourth parameter in the __workflowStart [...] [...] covered this syntax in more depth two articles ago. This time, we’re only going to look at the fourth parameter in the __workflowStart [...]

]]>
By: Jim Bob Howard http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-74676 Jim Bob Howard Tue, 15 Jun 2010 19:13:24 +0000 http://www.endusersharepoint.com/?p=8324#comment-74676 Excellent! Thanks, Brian, for the information! Blessings, Jim Bob Excellent! Thanks, Brian, for the information!

Blessings,
Jim Bob

]]>
By: Brian Bedard http://www.endusersharepoint.com/2010/06/08/sharepoint-extending-the-dvwp-%e2%80%93-part-8-creating-a-form-action-workflow-the-after-math/comment-page-1/#comment-74599 Brian Bedard Tue, 15 Jun 2010 16:51:51 +0000 http://www.endusersharepoint.com/?p=8324#comment-74599 According to Reflector: public string GenFireWorkflowStart(string listName, string itemID, string workflowId, string workflowParams) { return base.GenFireServerEvent("__workflowStart={" + listName + "," + itemID + "," + workflowId + "," + workflowParams + "};__redirectSource;__redirectToList={listName};"); } maybe the first param can be the listurl like we use when defining lookups the second parameter is the itemId, so New and a number are valid values the third parameter is the workflow instance id and the fourth, well now I understand why its an * delimited list (not so odd now) [comma was taken] According to Reflector:

public string GenFireWorkflowStart(string listName, string itemID, string workflowId, string workflowParams)
{
return base.GenFireServerEvent(”__workflowStart={” + listName + “,” + itemID + “,” + workflowId + “,” + workflowParams + “};__redirectSource;__redirectToList={listName};”);
}

maybe the first param can be the listurl like we use when defining lookups
the second parameter is the itemId, so New and a number are valid values
the third parameter is the workflow instance id
and the fourth, well now I understand why its an * delimited list (not so odd now) [comma was taken]

]]>