Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 1 (8 items) Re: Parse string array from web service The web service is something I actually designed, but other applications from my company use it besides the one I'm making now. So I'd rather not change the web service. Well, perhaps I'll duplicate the method I'm using for my Infopath form and change the output format. Seems like the only option in Infopath to parse string arrays ... Posted to General (Forum) by jyehwyle on 12-22-2010 Re: Parse string array from web service Yeah, the expression works without the [] part. Here's what I just tested. xdXDocument:GetDOM("GetADUser")/dfs:myFields/dfs:dataFields/tns:GetADUserResponse/tns:GetADUserResult/tns:string[2] Without the [] is what I posted in my original message. Is it possible an issue w/ Infopath Form Services? I'm publishing the form to ... Posted to General (Forum) by jyehwyle on 12-22-2010 Re: Parse string array from web service [quote user="Jimmy"] xdXDocument:GetDOM("GetADUser")/dfs:myFields/dfs:dataFields/tns:GetADUserResponse/tns:GetADUserResult/tns:string[index] should work. Note that index here is 1-based, not 0-based. [/quote] That was the first thing I tried and it didn't work. I tried it again, but every time I ... Posted to General (Forum) by jyehwyle on 12-22-2010 Re: Parse string array from web service Thanks for the reply Ernesto. However I don't think filtering will work in my case since the AD web service I'm using returns a single dimension string array. The Qdabra web service seems to return key value pairs (or maybe a multi-dimensional array). I need to somehow specify the index of the string array in Infopath. Posted to General (Forum) by jyehwyle on 12-22-2010 Parse string array from web service I'm looking for some help with pulling data from a web service. The web service pulls user account info from Active Directory and returns a string array. The string array shows up as simply "string" under the web service data source in Infopath. When I set a field with the returned data and submit the form, only the first item in the ... Posted to General (Forum) by jyehwyle on 12-21-2010 Re: Survey built using Infopath Form Services & Sharepoint [quote user="Patrick Halstead"] On load, just query a SharePoint list for the user's name. If a record exists, switch the user to a view saying "Hey, looks like you have an existing survey, click the button below to open it.". Add a button with a rule to open the form that is their data and close the existing form. ... Posted to General (Forum) by jyehwyle on 07-08-2010 Re: Survey built using Infopath Form Services & Sharepoint [quote user="Ted Fitch"] In InfoPath you should be able to query the entire library and if the current user = a "created by" user then throw a message and keep them from saving the form. [/quote] Sounds like that a good idea. However, I still would prefer the option of building the form such that if the user clicks ... Posted to General (Forum) by jyehwyle on 07-08-2010 Survey built using Infopath Form Services & Sharepoint Hi all, Like many people, I've discovered the built-in surveys in Sharepoint / MOSS 2007 aren't that great. So I'm thinking of using Infopath 2007 w/ Form Services to build a survey. However I'm trying to figure out a way to restrict users to submitting only 1 entry. I also need to allow users to modify his existing entry. Is ... Posted to General (Forum) by jyehwyle on 07-06-2010 Page 1 of 1 (8 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.