-
Hi,
Once try by selecting ‘always' option in Post back settings by following the below steps.
1. Go to repeating section properties.
2. Go to Browser forms tab.
3. There select ‘Always' radio button.
-
Hi,
Once go through the below links.
http://blogs.msdn.com/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx
http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/753dda34-e387-426b-b117-0e5e966bf5c4/
-
Hi,
Try the following expression for getting the current role.
xdXDocument:GetDOM("Roles")/roles/role/Name[../users/username = xdXDocument:get-DOM()/my:myFields/my:hiddenCurrentUser]
-
Hi,
First take the data connection of that webservice in the form. Store the values which are returning from web service in to a repeating field. Select ‘Look up values in the form's data source' and select that field in the Entries box of the drop down list.
-
Hi,
From which node you are getting the values in to drop down? I think you are using the string field. I have tried using this xml. It is giving the values. Verify once by opening the same sharepoint webservice in any browser and check whether that is returning all the values or not. If possible attach your xsn.
-
Hi,
Verify any filter conditions are using on drop down list. The node from which you are getting the values must be a repeating node. Verify that onece.
-
Hi,
If you want to display one section and field then right click on that field in data source. You will get the number of controls to be added. Click on the control you want to add on the form.
-
Hi,
You can calculate this using the following expression.
Add a whole number field to the data source. And in the default value field, use count function. Double click to insert a field, select the repeating node. Click on Filter data. There select the drop down field is equal to ‘the name you want to count'. Click ok.
-
Hi,
You can avoid the duplicate values by putting the following expressions as data validation.
count(/my:myFields/my:group1/my:group2[my:field2 != ""]) > 1 and (. = ../preceding-sibling::my:group2/my:field2 or . = ../following-sibling::my:group2/my:field2)
and add the message to display the dialogue box.
Here ...
-
Hi,
Write the following code in the button click event.
If(thisXDocument.Errors.Count == 0)
{
thisXDocument.View.SwitchView("viewName");
}