Hi Philip,
Yes, you attached the XSN correctly. Thank you.
I guess I need to take a step back and gain a better understanding of the scenario. When I read "Render" I thought of the new command (RenderForm) included in qRules v4.3.
I see your form is using qRules v4.3, but I don't see the RenderForm command in the Logic Inspector.
I see SubmitToSharePointList in use with the AddAttachment option.
SubmitToSharePointList /dsname=AddAttachment /submit=SharepointList /mapping=mapping /xpath=my:Deltakere_Deltakerbevis_Filvedlegg /uniqueName=no
So the attachment being added to the list item is located at:
/my:myFields/my:Kursdeltakere/my:group1/my:group2/my:Deltakere_Deltakerbevis_Filvedlegg
So to troubleshoot I would do the following:
1. Verify whether the SubmitToSharePointList command (without the AddAttachment option) works without issue, in creating the list items
2. Test the command with the AddAttachment option and see whether this works or fails, and if it fails, check the Error node in the QdabraRules secondary data source.
If this all works fine, then the issue is elsewhere (not the mapping).
My pending doubt is: what do you mean by "I then render that particular view"? And does this file look fine before adding it as the attachment to the list item?
In case you'd like to try the new command to render the view, you can read more in these blog posts:
http://www.infopathdev.com/blogs/mark_tienzo/archive/2012/12/31/renderform-command.aspx
http://www.infopathdev.com/blogs/mark_tienzo/archive/2013/01/30/renderform-with-savetosharepoint-command.aspx
Hope this helps! Let me know whether I can assist any further. Thanks.