Share via

SharePoint Designer Workflow Path and Name Field

Anonymous
2013-01-11T17:13:53+00:00

Hello,

I'm currently working on building a SharePoint Designer 2010 Workflow that includes creating an item in a SharePoint List based on some data from an InfoPath form.  When I insert the Create List Item action and click "this list," I select my SharePoint list and the required fields appear in the dialog as expected.  However, there is another field called "Path and Name" that also appears.  The workflow fails, throwing an error along the lines of "workflow cannot update the item," and when I edit the SP list to make none of the fields required (except "Path and Name") it still fails - this leads me to believe that the "Path and Name" field is causing the error.

After some researching it appears that "Path and Name" is related to creating list items in a Document Library, which I then tested on my virtual machine.  On my VM, the Create List Item action does not prompt for an input into "Path and Name" when I try to add an item to a regular list, as expected.  It only prompts for that field when I try to add an item to a Document Library, which also affirms the research.  However, on the client's server, it prompts for "Path and Name" no matter what list/library I select.

I've tried recreating the workflow, but all workflow attempts have the same result.  It seems to me that I should not be prompted to enter a "Path and Name" for an item in a regular SP list, and the fact that it's requiring me to do so makes this workflow impossible.  Am I missing anything here?  Is there a way to input a "Path and Name" for a list item that isn't a document?  Is there a way to get around having to supply this input, or a way to not be prompted at all (as it seems should be the case)?

Thanks in advance for any assistance.

Microsoft 365 and Office | Install, redeem, activate | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2013-04-04T14:16:21+00:00

    Solution is very simple: 

    Open target list in designer, find and delete field "Name". 

    After this workflow does not requre strange field "Path and Name". Enjoy!

    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-03-27T17:33:14+00:00

    DO NOT delete the name field. It is an internal field that when deleted causes a slew of other problems. I tried this and you will need to re-create the list to recover. Not fun...

    Instead, you need to set the "Required field" value to No for the field. The odd part is that the name field is hidden and actually refers to 3 separate internal fields. To find it, go to list settings and select any one of the columns available. In the URL (generally at end) you will see a parameter "Field=<fieledName>". Modify the <fieldName> value to one of the internal names for the Name column (LinkFilename, FileLeafRef, or LinkFilenameNoMenu). Visiting that page you can set the required field to No for each. You will notice that the field name is "Name" for each, despite the different internal name. For me the only one set to Required was "FileLeafRef".

    Hope this helps!

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-10-25T13:19:22+00:00

    I tried it;  but I guess without Name field Create List Item is unable to create the item in target list.

    Am I missing something.

    I am still struggling to make it work. I am using Office365 online.

    0 comments No comments
  3. Anonymous
    2013-04-08T12:52:04+00:00

    Thank you for the reply.  The project that this was a part of has since ended - I wound up building the list item creation into the form code as a workaround.  It's good to get an answer for this, though, and I hope it helped anybody else who had this question, too.  Good to get the information out there.

    0 comments No comments
  4. Anonymous
    2013-03-06T06:06:02+00:00

    U can Refer to the Following Link

    http://www.amazon.com/SharePoint-2010-WorkFlows-Jumpstart-ebook/dp/B007PBT9AO/ref=sr\_1\_1?s=books&ie=UTF8&qid=1362549618&sr=1-1&keywords=vishal+gupta+sharepoint

    vishalguptasharepointblog.blogspot.com/

    in.linkedin.com/in/vishalguptasharepoint

    0 comments No comments