Use our Google Custom Search for best site search results.
Search
-
I think part of your XPath got cut off, but I use filtered count XPaths for this kind of thing, too, sometimes, or the boolean function - for example, this returns true if there a no instances of the group where both of these fields are blank: boolean(not(my:group1/my:group2[my:field1 = "" or my:field2 = ""]))
-
Oh, you'll need to set the account name query field in the data connection and run the connection. Here's a copy with those rules added to form load for you. However - I just checked an InfoPath Forms Services form on my SharePoint Online tenant, and I get an error even trying to use this web service. So, there is a good chance this ...
-
Hopefully this will work! I set the URL to the same as the publish location for the form.... What are your plans for the April 2026 deprecation of InfoPath Forms Services on SharePoint Online? If you haven't checked out FormsViewer yet (a product created by the company I work for) you should think about it....
-
Oh. Yes, I'm afraid there isn't a way to add an XTP to a list form. Well, the only thing I can think of then would be to manually add the data connection. Want to attach your form and I can do that for you?
-
If you click the corner of the controls section, a pane opens on the right, with the add / remove on the bottom.
-
Wonderful, glad you got that sorted
-
In another post on the same topic, I realized the qRules / FormsViewer piece of this template part is important, because it is used to change the connection URL! However, this will add the user profile data connection to a form (along with other things you likely won't need). After adding the XTP, you could save the form as source files and ...
-
To add an InfoPath Template Part (.XTP) to an InfoPath form, open your form template in InfoPath Designer, then click Add or Remove Custom Controls in the Controls section under the Home tab. Click Add, select Template Part, and click Next to browse to your saved .XTP file. After selecting it and clicking Finish and Close, your new template part ...
-
Oh - I just realized that you have to have qRules to use this in order to change the data connection URL. But you could add the XTP so that the GetUserProfile data connection is added to your form. Then you could save your form as source files and modify the URL to the user profile service in the manifest file! Sorry, this is more complicated ...
-
You don't have to inject / use qRules for this. You can ignore all that and simply leverage the data connection for the user profile that gets added.