-
Agni,
Do you know the actual name?
thisxdocument.URI.xxxxxx
Thanks!
-
Thanks for that.
I'm basically playing about with the DOM at the moment. However, the objective is to display stored formatted text and display in the rich text boxes. This will be provided from a web service.
As i cannot bind rich text to a SQLServer data type. I was thinking of storing the rich text data as an xml string and get the formatted ...
-
I dint get what you are trying to do here but
thisXDocument.DOM.baseName will always be null.
''baseName'' defines the nodename without namespace prefix.
If you are looking for the filename then you need to look in
thisXDocument.URI;
-
Hello Travis,
''xml'' property is a readonly property of IXMLDomNode.
Here is the code that lets you copy the rich text data
foreach(IXMLDOMNode listNode in sourceRichTextNode.childNodes)
{
destRichTecxtNode.appendChild(listNode.cloneNode(true));
}
-
Are you seeing the changes in the UI or the fields(schema changes) that you have added newly?
If it is UI then it will show the new UI. Fields that will not get added. Even if you see the fields in the UI they will all be disabled.
-
Hello,
I am attenmpting to see if when a form is opened if its name is Form 1. If it is, I want to set some form variables from the On Load event.
I can not identify the object container that holds the name of the opened info path form. I tried the following but it does nothing:
If thisXDocument.DOM.baseName.Equals(''Form 1'')Then
--set ...
-
I am having problems keeping existing forms from being updated when I make updates to the template file. I have a Sharepoint site set up for time sheets. From time to time changes need to be made to the template file. The problem is I don't want it to effect forms that have already been filled out.
Before I save the changes and publish the ...
-
Having more problems with Rich Text.
I can get the xml and therefore get the formatted text from one text box. I am trying to set another rich text box through code:
IXMLDOMNode nodeMainText = thisXDocument.DOM.selectSingleNode(''my:myFields/my:txtMainText'');
nodeMainText.xml = ...
-
It's a main data source, but when I went to tools and convert data source it is asking me to Browse for or ''Enter the location of the XML document or schema that you want to use as your data source''
Please help...this may be simple solution though
-
Greetings!
In my form's data source, I have True/False (boolean) value that is not displayed on my form. I would like to know if it's possible via VBScript or JScript (perhaps in a button's onClick handler) to set this value to either TRUE or FALSE. I know that it's possible to set the text of a value on a form via something like:
Dim ...