-
I'm not sure why the defaults in the "original" fields get blanked out - that sounds kind of bug-ish, doesn't it? I'll try to remember to give this a spin later, and see what happens in my environment.
That being said - it may just be easier to edit your XML file in a text editor - Notepad 2 has syntax highlighting, or if ...
-
Your new XML has values in the fields for the defaults?
Your form was originally based off an existing XML or schema, so is locked in the data source task pane?
-
Hey, first off, great job figuring this out - but also, thanks so much for posting your solution to help others!
-
Submit using rules - then in your rules, you can use an action rule to set the field's value.
-
Actually, I think for forms not accessed via url, input parameters can only be passed as a command line switch (see this blog for more info).
But, you know, you've got your recordForm object. So you can go ahead and set values in it.
Dim recordForm As XmlForm = Application.XmlForms.NewFromFormTemplate("C:\Documents and ...
-
Before we go too far down that path, may I ask - are any other applications using your database? It seems to me that the best thing you could do if not is to normalize your database - this whole Occupations 1 -3, Ref 1 - 5, etc is going to be pretty nasty to maintain over the long run. It would make so much more sense to create proper tables and ...
-
Oh, sorry, I forgot to answer your initial question:
[quote user="shniggens"]So I assume you can't run the Delete command to directly delete an item from a SP list?[/quote]
The Delelete command deletes a node in a primary or secondary data connection in your form. It does not delete items from the source of your secondary data.
-
Here's what I'd do.
I'd submit all items to the list. I'd use the Refresh command to keep items and list in synch - give limited permissions to the list if you think you'll have trouble there.
I'd think through my logic a bit - can you define a time when the user should no longer be able to make changes to the order? To ...
-
Hi:
Are the machines that are failing updated w/ the latest Windows updates? This thread suggests .NET 3.5 as the issue, but I'm pretty sure that's been patched by now.... your instinct that it is a machine issue is correct, I think.
-
qRules has many commands that are browser compatible. SubmitToSharePoint list is one of them.
Here's the bit in the log that matters:
07/28/2011 16:43:06.58 w3wp.exe (0x4064) 0x3BBC InfoPath Forms ...