AD web Service--analyze AD value in expression box - InfoPath Dev Sign in | Join | Help in Qdabra Active Directory Web... Qdabra Software Product Support (Entire Site) 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 InfoPath Dev » Qdabra Software Product Support » Qdabra Active Directory Web Service » AD web Service--analyze AD value in expression box AD web Service--analyze AD value in expression box Last post 04-05-2006 06:49 AM by Mario. 4 replies. Page 1 of 1 (5 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-04-2006 07:08 AM Mario Joined on 11-04-2005 Posts 15 AD web Service--analyze AD value in expression box Reply Contact I have the AD web service up and running. I want to analyze the current user to make sure they have approval authority. I have the Infopath form bound to a database, I don't want to save the value of the current user so I am trying an expression box(versus a bound text box) with the following xpath:xdXDocument:GetDOM("GetMyInfofromAD")/dfs:myFields/dfs:dataFields/tns:GetMyInfoResponse/tns:GetMyInfoResult/tns:ADProp/tns:Value[../tns:Key = "sn"]How do I analyze (syntax) the value in this box in the code-behind in vb.net?or should I have it bound to a text box with a secondary schema?any help appreciated. 04-04-2006 11:13 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: AD web Service--analyze AD value in expression box Mark as Not AnswerMark as Answer... Reply Contact This XPath looks right, are you sure that the Web Service is returning what you are expecting? To check this, drag-n-drop the repeating item onto the view and hit preview. Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 04-04-2006 11:16 AM In reply to Mario Joined on 11-04-2005 Posts 15 Re: AD web Service--analyze AD value in expression box Mark as Not AnswerMark as Answer... Reply Contact yes, Matt it is, my question is more about vb.net I guess, what is the syntax to get the value from the expression box. 04-05-2006 03:23 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: AD web Service--analyze AD value in expression box Mark as Not AnswerMark as Answer... Reply Contact Ah, sorry. You cannot retrieve values from an expression box. They are used for display purposes only. Your idea about the node on the secondary DOM sounds like a good idea. Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 04-05-2006 06:49 AM In reply to Mario Joined on 11-04-2005 Posts 15 Re: AD web Service--analyze AD value in expression box Mark as Not AnswerMark as Answer... Reply Contact Matt, thanks for the info. I've never retrieved a value from the secondary DOM in code either, do you have any sources of info,i.e. syntax for vb. As you can tell, I'm an old vb programmer stumbling my way through xml. Page 1 of 1 (5 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.