get and set cross-site lookup

rss

Posted by Jeff Childers - Aug 29 ’13 at 11:28

Could you please add to your instructions for pre-filling form fields how to do so for cross-site lookup fields (ie., get, set, and on-change).   Would like to be able to do this for a lookup to a large list.

  • Dmitry
    Dmitry
    Admin
    Member for: 6 years 11 months 15 days
    #1 by Dmitry Aug 31 ’13 at 07:06

    Hello Jeff,

    Thank you for your question.

    Currently you can use value method to set or get ID of the selected item, handle change event and make field read-only with readonly method. But we will improve support of Cross-site Lookup Column and publish documentation soon. I will put the link in this thread.

  • Dmitry
    Dmitry
    Admin
    Member for: 6 years 11 months 15 days
    #2 by Dmitry Sep 19 ’13 at 09:09

    We have updated our article with additional samples of working with Cross-site Lookup via JavaScript: http://formsdesigner.blogspot.com/2013/04/getting-and-setting-sharepoint-form.html

  • jamyjamal
    Member
    Member for: 1 year 11 months 24 days
    #3 by jamyjamal Jun 1 ’17 at 05:14

    Hiya Dmitry

     

    Please can you tell me if there is a way to update the field as if a user is typing? For example, if a user choses " School" in a field, we can get the cross site lookup to search for "School" in the lookup field as if the user was typing it in?

     

    Regards

Displaying 1 to 3 of 3 messages