Use our Google Custom Search for best site search results.
Search
-
I think this is an InfoPath instead of .NET security issue. If you look at the View.Export method on msdn(http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.view.export(VS.80).aspx) you'll find the following:
This member can be accessed only by forms opened from a form template that as been configured to run with full trust ...
-
Did you use a double backslash between folders, like:
var strRECFile = ("C:\\FolderOne\\FolderTwo");
-
The code reads the node from sampledata.xml, which contain all default values (= templated?). But its possible to change the code, so instead of reading a node from sampledata it can read a node from the maindom and clone it. It doesnt matter what if its the last or not. Its just a matter of selecting the right node ...
-
You can do this if you are using code, there are afaik three appoaches:
Start with everything and delete everything that not has a value when you save the form
Start with nothing and add the fields you need.
Ignore the empty field and/or look at the xsi-nil="true" property
Approach 1 is default in InfoPath. I never did ...
-
You could try to look in the Office setup. Under InfoPath (add/remove programs) there is an options to enable .NET programming support.
This is for 2007, don't know about 2003, but i guess it is the same.
Albert
-
Using jscript you could do something like this, use :
function XDocument::OnSaveRequest(eventObj)
{
try
{
//XDocument.UI.SetSaveAsDialogLocation("\\my\form\directory");
XDocument.UI.SetSaveAsDialogFileName("myForm");
eventObj.IsCancelled = ...
-
Hi, i've tried to look for some code that inserts rows. I couldn't find any answer that satisfied me, for example missing node-order. So i've created my own method and just wanted to share it (jscript) with everyone here.
It can:
Insert a row to a repeatinggroup
Insert a group which is not in default values ...
-
Im sorry, you are right. I can't think of an alternative...
Edit: well, maybe one, but this is really dirty.
Use several datasources for your second selection and bind each datasource to a dropdownlist. Bind all the dropdownlists to the same datafield. Use conditional formatting to hide/show them based on your first ...
-
Are you sure you have well-formed xpath? And is it pointing to an existing node?
When do you receive this error?
Albert
-
I don't know, but according to the documentation:
XDocument.IsDirty: A read-only property that returns a Boolean value that indicates whether the data in a Microsoft Office InfoPath 2007 form has been modified since it was last saved. Read-only
So i bet i only changes when you change a field in the maindatasource.
Good thing there is a ...