-
SubmitToSharePointList command does perform updates from the form to the list. You need to specify a node for the id in your command, and then you can change items in your form and submit again to update. Here's a video demo you might find helpful...
-
Since qRules and custom code can't co-exist in the same form, I'm afraid there isn't an option to delete from your form and have the changes reflected in your list. One work around might be to add a field for 'active' to your items, and mark them active / inactive. Then, in your ShP list, you could set your views to not display ...
-
Currently, we only allow adding and updating from InfoPath to SharePoint using qRules. Delete functionality should be added in a future release.
-
You are very welcome, and your dog (I'm assuming the dog in your profile pic is yours?) is ADORABLE!
-
I believe your question was answered in your other thread, available here. As Jimmy pointed out, there are some errors in that MSDN code sample.
-
Are you sure of your XPath:
my:myFields/my:theAttachment2Field
Did you use the Copy XPath menu option in the Data Source Task Pane to get that XPath to your field? In the Data Source Task Pane, make sure your Main data source is displayed, and right click on the field and select Copy XPath. Then paste that XPath into your code:
IXMLDOMNode ...
-
Look under Tools / Defaults. You can add additional instances of your repeating node. That way when you open it you have 3, but when your users add a row, only one will be added.
-
Ah, I see Jimmy already posted the details about the issue! Here is a zip with the modified code. I've also included a Word docx with some screenshots and info to help you get your form template repointed to the corrected code module.
-
I can see the problem, don't bother trying to add references -- I'll have this posted back here shortly...
-
Can you also attach your code files? Looks like they can be found here:
C:\Users\Lawson\Documents\InfoPath Projects\AttachmentEncoding8
Just zip up the whole folder.
As far as adding the reference goes, you need to add a reference to your new InfoPathAttachmentEncoding class that you created while following the code sample....probably under the ...