Chox’s Blog

Chox juga mau belajar nge-blog

Error When Update Value Field of List Item – InfoPath Content Type

I have a form library (infopath content type).

That library will include a workflow that will be triggered when a new item has been created.

The problem is I cannot update the field/column of form within a workflow.

It always show me a message “The form has been closed”. It makes me some days (so damn crazy) to find out what is the point of the problem.

I check the logs file from 12 hive folder sharepoint.

Then I found this : “Type: SchemaValidationException, Exception Message: Schema validation found non-datatype errors.

And a found this miracle article (thank you very much)

We just make sure to set PreserveWhitespace of our xml doc object, to true. Before me make some programmatically to edit the form.

Just that, and It’ll run ok.

yeah.. it made me had a headache :-D

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.