Search - InfoPath Dev

InfoPath Dev

Search

Page 60 of 70 (691 items) « First ... < Previous 58 59 60 61 62 Next > ... Last »
  • Re: grab field value in code

    Hi again Joel, Finding of XPath of the field you could open the template.xml and you can prepare of your xpath from root node with the separation of slash ''/''. Check out this link you can get the more information,http://www.w3schools.com/xpath/default.asp
    Posted to Code (Forum) by Shiva on 11-11-2006
  • Re: Can not reach a node

    Hi mar, I am sorry for I had given above line code. Here is the code for setting the property of the node. XDocument.GetDOM(''DOMName'').setProperty(''SelectionNamespaces'',''Namespace of the your DOM''); Can you check once in debug mode if you are getting the DOM and also need to check n that DOM your node is present or not. If your node is ...
    Posted to Code (Forum) by Shiva on 11-11-2006
  • Re: Emailing different form views using buttons

    Hi Micky Welcome to the Forums, You want to send another view means; whenever you click on “Submit” button you can set this value to one filed. Depends on that field value you can switch to another view. Whenever you opened submitted form it will open by another view as default. Do you want to send by email your form then we have lot more posts ...
    Posted to Newbie Questions (Forum) by Shiva on 11-11-2006
  • Re: Repeating table sum and select from a database

    Hi Michael, Can you try below two Xpaths: /myFields/datafields/d:TOSS/employeeDepartment[../@monthlyExpenses = current()/SelectedemployeeDepartment] /myFields/datafields/d:TOSS[@monthlyExpenses = current()/SelectedemployeeDepartment]/employeeDepartment
    Posted to Newbie Questions (Forum) by Shiva on 11-10-2006
  • Re: Can not reach a node

    Hi mar, Can you try once this Xpath, Your Xpath should be like “/my:myFields/my:test”. If above Xpath also doesn#%92t work then you need to set the property of your DOM by using below code: thisXDocument.DOM.setProperty( ''SelectionNamespaces'', ''Namespace of your DOM''); After this you can try to get the node. And you need to check your Xpath ...
    Posted to Code (Forum) by Shiva on 11-10-2006
  • Re: grab field value in code

    Hi Joel Allen Welcome to the Forums, You need to give the field XPath should be correct. Can you check once again XPath of the your field.
    Posted to Code (Forum) by Shiva on 11-10-2006
  • Re: Switching View only works once

    Hi Soham Bhatt, You can write code for button to switching to another view. btnSwitchView_OnClick(DocActionEvent e) { String viewName = thisXDocument.View.Name; if(viewName == “Request”) { SwitchView(“Approve”); } else If(viewName == “Approve”) { SwitchView(“Request”); } else If(viewName == ...
    Posted to Views (Forum) by Shiva on 11-09-2006
  • Re: XML doubt

    Hi Shayken, Can you check first as below the code returns correctly or not Var disciplinaLength = xmlDoc.getElementsByTagName(''DISCIPLINA'')(i).length; After it returns the number then you can try your code. One more is you given example node name is PROFESSORES but you are trying PROFESSOR . Can you check once again node name is correct ...
    Posted to General (Forum) by Shiva on 11-09-2006
  • Re: Message on clicking disabled button

    Hi Turnipboy, If you want to show message when button is disabled, you need to add one section above the button and say message “'please fill out the text boxes above'”. And you need to add reverse condition as you disabled the button. It will automatically show this message whenever button is disabled. Whenever you fill all the data then this ...
    Posted to General (Forum) by Shiva on 11-09-2006
  • Re: Get current location/url

    Hi, If you want to get the opened InfoPath form template in sharepoint, string url = thisXDocument.URI;
    Posted to Code (Forum) by Shiva on 11-09-2006
Page 60 of 70 (691 items) « First ... < Previous 58 59 60 61 62 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.