-
Okay - so when I type GenerateGuid in the command field and tab out, there is a GUID in your result field. That means qRules is working correctly in your form.
In your SubmitToSharePointList command, remove the /mapping parameter, you don't need it.
SubmitToSharePointList /submit=ShPListSubmit
If you put the Qdabra Rules error node on your ...
-
I'm thinking your real problem may be that you want to copy data from one repeating table (your SharePoint secondary data source) into another (your main data source) - is that correct? That is tricky without using code (or qRules - where you can use rules to execute code from a pre-built library).
-
I don't think InfoPath is going to let you do this out of the box - SharePoint List forms are pretty different from forms that can submit to a library, unfortunately.
I think you'd have to start with an InfoPath form intended for use with a library, then use qRules, code or a CAML query to submit your list info.
-
Hi - I'd be happy to take a look at your template if you want to post in a reply (just add it under the Options tab). Sometimes people disable qRules by accidentally adding code to a template - could that have happened here? If you put the command node and result node from the QdabraRules data source on your form, preview, ...
-
If you add the Qdabra Rules Error node (from the QdabraRules data source) do you get any errors when you attempt this? You are setting the column that you have mapped as the SharePoint ID to a valid list item id?
-
I'd have a field in the form's data source for "status" and set it to submitted when the form is submitted. Then I'd add logic to the form's loading rules to switch to a read only view if status = submitted.
-
Hi - I see you have injected the form with the Admin Approve only version of qRules - with that version, I'd anticipate this would only work in the browser after being admin approved. Can you reinject with just the Browser option selected and see if that resolves the issue?
-
You could promote the email field in the library you are publishing the form to - then when the form is filled out and submitted to the library, the email field will be in the promoted column and your workflow can use that. More here: http://www.bizsupportonline.net/blog/2014/promote-infopath-form-fields-to-sharepoint-library.htm
-
Sorry! just realized from your subject line change that you had figured this out on your own. :)
-
Hi - so this is a rule on the dropdown? and the dropdown uses the ID for it's value setting?