Trying to get latest version of an InfoPath form from SharePoint

Last post 09-05-2008, 12:50 PM by elisheva. 1 replies.
Sort Posts: Previous Next
  •  09-02-2008, 7:54 PM 25848

    Trying to get latest version of an InfoPath form from SharePoint

    I am trying to use the SharePoint 2003 Document event in K2.net Studio to get the latest version of an InfoPath form to use in my K2 process. I have tried writing the InfoPath form to: K2InfoPathSchema, TempInfoPathSchema, another XML field that I created, and finally a string datafield of the process. Every time I get the following error (id 613):

    System.Exception: The path specified is being used in a substitute.
       at K2Code54985.Main(ServerEventContext& K2)

    I'm not sure what else to try, so anyone has any ideas for me, I would really appreciate it!

    Thanks,

    Beth

     

    Filed under: ,
  •  09-05-2008, 12:50 PM 25914 in reply to 25848

    Re: Trying to get latest version of an InfoPath form from SharePoint

    I solved my own problem. I was trying to get the latest version of an InfoPath form, but I hadn't yet put the file name into the datafield where I was looking for it. Once I changed the order of activities, it worked just fine.

    So if you get this strange error, then make sure you don't have an empty file name!

     Beth

View as RSS news feed in XML