-
You can get the path using XDocument.URI using VBScript. I've used it to pass the information to a field in the form.
Example:
strPath = XDocument.URI
dim oInfo
set oInfo = XDocument.DOM.selectSingleNode("//my:FormPath")
oInfo.text = strPath
-
A even much simpler version of my question:
Is that possible to access SPSite and SPWeb object from InfoPath Code (FormCode.cs)? How?
-
Hi-
I have everything installed and working properly- the DAT, the Expense report tutorial went fine, everything
seems on track. Then I got to the part where I create a new web part page, good,-inserted the dbxl web part,-good,
but when I click "Modify Shared Web Part" I get an error-not good. SO, I'm kinda stuck right here. Any ...
-
Hey here is a hint of another version of my qestion about this error:
I am pretty much sure it's a security issue. I am
runing InfoPath 2007. Question and hint: What user identity and
application pool to run the InfoPath web form or service. How should I
know that?
I need to check the identity or impersonate an admin user to do this. ...
-
-
Well, I don't think that work in my scenario:
I have an event hander that was generated itself when I chose to use "Submit" action and "perform custom action using code" and clicked "Edit Code":
public void FormEvents_Submit(object sender, SubmitEventArgs e)
{
....
}
Now I have 2 buttons on the ...
-
You may want to look at Qdabra's migration tool.
It will move the templates and any documents and relink them which I beleive is what you are referring to.
-
I created the first version of the dataset using the wizard, then made some changes using the wizard, then made some more changes using the wizard. The last change was for it to use foreign keys and enforce data integrity. But, the wizard didn't actually implement the foreign keys. Then I re-created the dataset from scratch using the ...
-
You have some sort of click event handler that gets called when you click the button... the code inside there is calling your submit code, right... so add a parameter to the submit function and pass it the button name to it:
pseudo code, not actual code:
ButtonEventHandler(...)
{
...
-
Great! Glad to hear you got it working!