“parsing EntityName” error during the execution of an InfoPath client event that integrates with SharePoint

  • 16 February 2021
  • 0 replies
  • 131 views

Userlevel 3
Badge +8
 

“parsing EntityName” error during the execution of an InfoPath client event that integrates with SharePoint

KB000099

PRODUCT
K2.net 2003
TAGS
Microsoft InfoPath
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

The error “An error occurred while parsing EntitiyName” will occur during the execution of an InfoPath process when the process name contains the ‘&’ character and the client event is configured to update a SharePoint task list.

 

Introduction
The error "An error occurred while parsing EntityName" will occur during the execution of a K2.net® 2003 InfoPath process when the process name contains the "&" ampersand character and the client event is configured to update a Microsoft SharePoint task list.
Steps to replicate this Issue:
  1. Create a "New" InfoPath "Form" and "Publish" it to a SharePoint Form Library
  2. Create a "New" InfoPath "Process" in K2.net 2003 Studio and use a name that contains the "&" ampersand character such as "InfoPath & SharePoint"
  3. On the InfoPath Client Event "Settings" page of the InfoPath Process Wizard click the "Task List" tab
  4. Click the checkbox to "Add to SharePoint Task List" and complete the rest of the fields as usual

  5. Assign a "Destination User" to the client event and "Export" the process
  6. In Service Manager assign "Start Permissions" to the new process
  7. In K2.net Studio open the Process "Properties" and from the InfoPath Document Actions drop down select "Start Process"
  8. Fill out the InfoPath Form and click "Submit"
  9. The EntityName error will show up in the Server Console or log, as well as the Service Manager
  
Solution:
To resolve the EntityName parsing error remove the "&" character(s) from the process name by following the steps below:
  1. In K2.net 2003 Studio right-click on the process name and select "Properties"
  2. Under "Process General" remove the "&" character(s) from the process name
  3. Click "Apply" to save the changes
  4. From this same window select "Refresh Document" from the InfoPath Document Settings drop-down list
  5. Click "OK" on the message that tells you that the InfoPath document was updated successfully
  6. "Save" and "Export" the process.
  7. Since the process name has changed you will need to open Service Manager and assign Start Permissions to the new process
  8. In K2.net 2003 Studio open the "Process Properties" and from the InfoPath Document Actions drop-down select "Start Process" to test the solution

 


0 replies

Be the first to reply!

Reply