Getting value from Column in Shared Point - InfoPath Dev
in

InfoPath Dev

Getting value from Column in Shared Point

Last post 02-05-2007 07:15 PM by christianlebe. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 02-01-2007 10:30 PM

    Getting value from Column in Shared Point

    Hi everyone,

    I'm about to do some programming on Microsoft Infopath. I was wondering how can we get a value from a column in Shared Point Library. I have been googling for few hours but could not find anything useful.

    Any help is very much appreciated
  • 02-01-2007 11:51 PM In reply to

    • Aruna
    • Not Ranked
    • Joined on 12-13-2006
    • India
    • Posts 17

    Re: Getting value from Column in Shared Point

    Hi christianlebe,

    Have you gone through this tutorial?
    http://infopathdev.com/howto/tutorials/default.aspx?i=7bc880f391b84ea9b3b45c6fbecc07c6

    Hope this helps you!
  • 02-02-2007 01:50 AM In reply to

    Re: Getting value from Column in Shared Point

    Hi,

    What you mean by get a value from a column in Shared Point Library?. Give more details and explain your scenario.

    Thanks.

    K.Ramana Reddy / http://www.ggktech.com
    India.
  • 02-02-2007 08:25 AM In reply to

    Re: Getting value from Column in Shared Point

    Hi aruna, i have checked that link, but this is different scenario.

    Okay, basically in my SharedPoint Library template, I have specified different Columns. I think most of you know what columns are, they are basically storage in sharedpoint library.

    So say I have a column named ProjectDeadline, and I would like to write a script in InfoPath that has to compare a value of user input with the date stored in ProjectDeadline column. How can I get the value of the column. I was assuming there is a method like :

    var ProjectDeadline = Template.GetSharedPointColumn('ProjectDeadline')

    so that I can do any processing in my infopath script.

    Does anyone have any suggestion for this?

    Thanks

  • 02-05-2007 05:24 PM In reply to

    Re: Getting value from Column in Shared Point

    btw, i'm using jscript.
  • 02-05-2007 07:15 PM In reply to

    Re: Getting value from Column in Shared Point

    hmm... i'm up to this point:

    var oDom = XDocument.GetDOM("My Document Library");
    oDom.setProperty("SelectionNamespaces", "xmlns:dfs='http://schemas.microsoft.com/office/infopath/2003/dataFormSolution'");
    var test = oDom.selectSingleNode("//dfs:myFields/dfs:dataFields/dfs:My_Document_Library/@My_Field")

    howeever, still doesnt look good :(
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.