Reputation
1,367
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 27 53
Impact
~233k people reached

  • 0 posts edited
  • 0 helpful flags
  • 69 votes cast
Jun
23
accepted Sequential workflow only activates once for each item in document library
Jun
23
comment Sequential workflow only activates once for each item in document library
Ah, I understand now. You are right, the workflow gets started once and another instance of it can't start until it has completed. If that instance were to return Completed or Failed, would it be able to restart on that item again?
Jun
23
comment Sequential workflow only activates once for each item in document library
Well these two workflows are different. Can two different workflow instances be associated to an active item at the same time?
Jun
23
comment How to make a sequential workflow automatically goto next task
Anyone have tips on how I could add more detail or information to this question? I have three tasks and when one is completed, it will not go to the next task without calling the method name. I would like it to go to that task if the previous task's code executed successfully.
Jun
23
asked Sequential workflow only activates once for each item in document library
Jun
22
accepted How do I convert SPUser to SPFieldUser?
Jun
22
asked How do I convert SPUser to SPFieldUser?
Jun
21
asked How to make a sequential workflow automatically goto next task
Jun
14
accepted How to get relative path of file in solution?
Jun
13
comment How to get relative path of file in solution?
Thank you I tried that and it worked, but it returned a string of the schema. When I try to access the schema with this line of code doc.Schemas.Add(@"ijis-isesar/1.5";, NSI_FCS_Workflow.Properties.Resources.sari); it throws an exception stating it wants a url to the path of the schema rather then the schema in string form. To get around this I passed the string to the a StringReader and then passed that to an XmlReader and it worked great.
Jun
13
comment How to get relative path of file in solution?
Thank you, I tried that, and the file is there, but when I try to access it with code doc.Schemas.Add(@"ijis-isesar/1.5";, @"yak/NSI_FCS_Bin/sari.xsd"); I get a 401 Unauthorized error. However, if I type the address into IE, I can access the file just fine and it prompts me to download it. Is there something else I have to do to get around the 401 error? I made sure I was logged in before running the code.
Jun
10
comment How to get relative path of file in solution?
Basically I am trying to access a file, any file, that I have added to my solution, but when I type in the path "../folder/file.xsd" Visual Studio defaults to the c:\windows\system32 folder. I want to know how to add a file to my solution and access it without having provide a path from the local hard disk.
Jun
10
asked How to get relative path of file in solution?
Jun
10
accepted Document Library throws NullReferceException everytime I try to grab an item
Jun
9
answered Document Library throws NullReferceException everytime I try to grab an item
Jun
9
awarded  Editor
Jun
9
revised Document Library throws NullReferceException everytime I try to grab an item
added 1201 characters in body
Jun
9
comment Document Library throws NullReferceException everytime I try to grab an item
In debug mode, when I look at the tlList properties, almost every single field has a "NullReferenceException" in it. The only one that has an actual value is ItemCount
Jun
9
comment Document Library throws NullReferceException everytime I try to grab an item
I just tried this and received the same warning. My code looked like: SPQuery q = new SPQuery(); q.RowLimit = 1; q.Query = "<OrderBy><FieldRef Ascending='False' Name='Name' /></OrderBy>"; SPListItemCollection col = tlLibrary.GetItems(q); string name = col[0]["Name"].ToString(); Name is a field in the document library
Jun
9
comment Document Library throws NullReferceException everytime I try to grab an item
There are no folders in the document library. I have even tried to grab item[0] or item[1] also with no luck