-
Is the action that you are performing in the code or in the InfoPath?
If it is in the code then name the buttons differently and write a common method for the functionality and pass the dataconnection name as a parameter to the method. Now call this method in all the 4 buttons onclick method.
If it is in InfoPath then also you need to name the ...
-
Hi Abhishek,
I dont think you can do anything at sharepoint.
But you can write a program to get the files from sharepoint and update them and save them back to sharepoint. And you need to shedule your program to run every day.
If you are interested we already have a tool built for this purpose. Which will be out for sale very soon. It will be ...
-
If you are good at xsl transform then that would be good solution for you.
But does all nodes(child nodes also) have ns1 as prefix? If only root nodes have ns1 as prefix, you can pick up the child nodes as is and apppend them.
Agni
InfoPathDev India
-
Yes it is possible, you need to do this in the xsl. Open the view xsl file in notepad and look for ''Insert item'' in it(If you change ''Insert Item for something else look for that text).
This Text will be in a div tag.
You can change style for this div tag to what ever you want(Increasing the font)
Agni
InfoPathDev India
-
Hi,
What is the error you are getting when you are trying to open the form?
How did you delete the dataconnection? Using Tools->Dataconnection? or any other way?
Agni
InfoPathDev India
-
Get the logged in username from the code with
System.Environment.UserName(c#).
Create a secondary dataconnection xml with a node for logged in user and put that Info in that secondarydataconnection xml Node.
Note: I think it can be done in Jscript also.
Agni
InfoPathDev India
-
If you tab then the cursor will be at the beginning. But when you click with a mouse then the cursor will be at the place where you click the mouse(if that particular line has the text at that point, other wise it will be at the end of the line or it will be in the above line).
Agni
InfoPathDev India
-
Hi Thiery,
You need to set selectionNamespaces property for this dataconnection before calling the connection for selecting the node with an xpath. You can set property this way
IXMLDOMDocument2 oDomSearchHRG = (IXMLDOMDocument2)thisXDocument.GetDOM(''searchHRG'');
oDomSearchHRG.setProperty(''SelectionNamespaces'', ...
-
Hi Thiery,
Yes it is possible! For a plain textbox it is not possible but for a textbox which allows paragraph breaks total text doesnot get selected.
Agni
InfoPathDev India
-
Xml accepts only yyyy-mm-dd format. If you want mm/dd/yyyy format only for visual purpose then you can change format in the InfoPath UI.
If want to save in mm/dd/yyyy format then as Thierry said you have to change the type to string istead of Date.
Agni
InfoPathDev India