You searched for the word(s): 12
-
Hello,
For a second there i wasn't sure where the C# code was meant to go since the editor that ships with infopath accepts only jscript and vbscript. Then it hit me... There must be an infopath project template in .NET!
Thanks for the info. I'm more comfortable with .NET and I'm looking foward to working with it.
Antoine
Nigeria.
-
Agni. Thanks for your reply and time. This worked a treat. The only difference was i needed to assign a Node to the parameter and not a document. So the final code was;
//create a dom with your XML
string sXml = ''<HELP><Scott>Test</Scott></HELP>'' ;
IXMLDOMDocument oXml = thisXDocument.CreateDOM();
oXml.async = ...
-
Hi ScottAtRVC,
I dont know whether i understood your problem in full or not, but let me put your question in my words
before answering it.
You want to submit XML as an Input parameter to a webservice dataconnection.
If my understanding is correct here is the solution:
1. If webservice wants xml as a string you can pass your xml as ...
-
Hello Patrick,
I could solve my problem. I'm thanks a lot for your helpness. I will send source code to be knowledge for other people.
function dolink()
{
var para1 = XDocument.DOM.selectSingleNode(''/my:myFields/my:para1'');
var oExcel = new ActiveXObject(''Excel.Application'');
oExcel.Workbooks.Add ...
-
If you use the Web Service via data connections you do not need to give the form full trust, but it looks like if you give a web reference then you need full trust.
Shanthi
InfoPathDev India
-
My code is in C#
I get an error that SelectText dont get 1 parameter.
What's wrong?
-
I want to know. Why should I Install the form (with full trust) and not only publish it to a SharePoint site (with Automatic security level) and that the user will open the form from the tepmlate that located in the site?
What's the differnt?
Do I need full trust because I use Web Service??
-
try this
var ObjDomNode = XDocument.DOM.selectSingleNode(''//my:txtActionText'');
XDocument.View.SelectText(ObjDomNode);
-
In our tool, Infopath has been used in integration with WebApplication. On button click in Aspx page I am opening an infopath and Data editing is totally using Infopath and after submission of data in infopath showing the same content in readonly mode in aspx.
So in this scenario, when I enter some junk like( <script> alert(“a”) ...
-
I got this segment of code about how to populate a list box from a share point list. But I'm having a hard time in understanding it...Could anyone be kind enough to explain it to me how it works?
quote:
SharepointListAdapter oSpla =
(SharepointListAdapter)thisXDocument.DataAdapters[''SharePoint Adapter''];
string sUrl = oSpla.SiteUrl;
...