Skip to main content
jP_web_icon

Examples

Go Search
Home
  
Examples > CrossSiteLookupDemo  

CrossSiteLookupDemo:

WestUse SHIFT+ENTER to open the menu (new window).
888-888-888666-666-6666
SouthwestUse SHIFT+ENTER to open the menu (new window).
New101-202-3003-12
Pacific RegionUse SHIFT+ENTER to open the menu (new window).
123-456-7890098-765-4321
Kuala LumpurUse SHIFT+ENTER to open the menu (new window).
Central222-222-222
rrrrrrUse SHIFT+ENTER to open the menu (new window).
ccc1111
North EasternUse SHIFT+ENTER to open the menu (new window).
Central Park888-654-1355
Far eastUse SHIFT+ENTER to open the menu (new window).
444-444-4444555-555-5555
East CoastUse SHIFT+ENTER to open the menu (new window).
555555555123

 What is This?

This jPart demonstrates
  • Conversion of the Region text field into a dropdown picklist
  • Populate picklist with values retrieved from another list, LookupList (included here for viewing)
  • Display custom information from lookup list.
 
To use this code on your site:

1. Drop a Content Editor Webpart into the list forms (NewForm.aspx, EditForm.aspx, and DispForm.aspx)

2. Include the following lines of script in the Source Editor

<script type="text/javascript" src="//www.sharejpoint.com/src/jssharepoint/temp/jPointLoader-0.6.1-expanded_local.js" ></script>
<script type="text/javascript" src="//www.sharejpoint.com/src/jpoint/plugins/jPoint.converttodropdown.js"></script>
<script type="text/javascript" src="//www.sharejpoint.com/src/jpoint/webparts/jPart.CrossSiteLookup.js"></script> 

3. Save and Edit jPart configuration

4. Configure the jPart to use data from your own lookup list.

Example from this site: