-
Have you tried using an absolute xpath? My guess is that InfoPath doesn't fixup the relative xpaths correctly when you add the XTP to your target form.
-
I recommend building an installer script. Copying the files is ok though. make sure you use UDCx files for the data connections so you can quickly switch from QA to Production.
-
1. This is very easy - just add a formatting rule to "disable the control" based on the value of the checkbox.
2. You can't use rules to force schema validation, but you can just add a conditional formatting rule based on the dropdown to highlight the field if it's blank and the dropdown value is equal to some specific ...
-
Have you looked at the addDays xpath function? You could do something like addDays(today(), -1) to get yesterday.
-
Hi Catharine,
Has your IT recently instituted a new CAS policy? If so, that could explain the issue. Since you haven't changed the XSN, it doesn't seem like that could be the issue. Another issue is if client machines use Trusted Sites for your http: server it won't work. .NET needs to run in Local Intranet. I would check those two ...
-
You can certainly set it to a value in the form (latter approach) or submit to Access and requery to get the ID, set the field and submit again.
-
Hi Kiran R,
Yes, you can do all of these things. Create one data connection for each list and query on load and add the columns you need to control filtering. Add fltering in your form or use FilterOwssvr and queries to do it dynamically.
Good luck!
-
Wow, you did some real sleuthing to find that post!
There should be an easy way to do this ....
One idea would be to create a view in the database with string data type columns...
Another idea would be to use SharePoint Designer to map the BCS column values or set their default data types - have you looked into that?
If you had SQL on the ...
-
I just Modify the existing and then it requeries and updates the DS.
In 2007 there was a "Convert Main Data Source" from the Tools menu (I have no idea where this went in 2010 and frankly I don't care since we use XML data sources not generated from DB or WS).
You shouldn't have to rebuild the form.
-
Remove the code and just use the xpath username() function that was new in InfoPAth 2007.