-
Hi Dsmerda,
Welcome to the Forum!
Use ''Email'' as the keyword in the forum search, you should be able to find code to send email through code. Using that code you can change the email recipients list.
Hope this Helps!
Agni
InfoPath Dev India
-
You have to use
dim secField as IXMLDOMDocument2 = e.XDocument.DOM.selectSingleNode(''/my:myFields/my:dataFields/my:ProjectCategory/my:Last_Used'')
to select ''Last_Used'' node.
Agni
InfoPath Dev India
-
For primary DOM Namespace is set at the top of your code, this is taken care by Visual studio/InfoPath.
You can see this it starts with ''<InfoPathNamespace...''
For secondary doms you have to take care of all those things.
Agni
InfoPath Dev India
-
Hi andywt,
If it is a secondary DOM you need to get that dom and then select a node from that.
You also have to set namespace property for that node
Dim projectCategory As IXMLDOMDocument2 = e.XDocument.GetDOM(''Project Category'')
projectCategory.setProperty(''SelectionNamespaces'', ...
-
Hi SnapperL,
I have tried it I dont get any error here. What kind of problem are you facing here? If you are getting any error message what is that?
Agni
InfoPath Dev India
-
Hi SnapperL,
Thank you very much for posting the solution here.
Agni
InfoPath Dev India
-
What is the error message that you are getting when you try to open the attachment?
Agni
InfoPath Dev India
-
By using rules you can submit to both sharepoint and Email in one button click.
You can set rules in the button property dialog.
Agni
InfoPath Dev India
-
By default sharepoint has an ID field for each form that gets created, but you cannot insert this ID into the form for the first time.
If you want there are other ways to create unique id's.
1. If you are using c# code you can use ''Guid'' as a reference, but this is a string which contains both characters and numbers.
2. If you are using ...
-
Hi Oguz, Welcome to the Forum!
To save form to a sharepoint you to need to take a Sharepoint submit connection.
To send an email you have to take Email Submit data connection.
After taking both the connections, insert a button control in the UI and set rule on the button to submit to email and to sharepoint.
Agni
InfoPath Dev India