SPLookupAddNew - refresh downdown contents completefunc?

Mar 31, 2011 at 3:32 PM

I just downloaded the SPServices jQuery library and set it up yesterday in our dev environment - I love it!  But much to learn...

jQuery version: 1.5.1   (loaded from Googleapis, for now),  SPServices version 0.6.0

Working with SPLookupAddNew and I am wondering how to get the dropdown list to refresh after new item is added to the source list...  any tips to nudge me closer?

Coordinator
Mar 31, 2011 at 3:45 PM

If you're in SharePoint 2007, then the dropdown will contain the value when you return to the form page. If you're in SharePoint 2010, then you should read the caveat in the docs. One option is to turn off the dialogs for the list.

M.

Mar 31, 2011 at 4:04 PM

Thanks...  I should have noted I am in SP2010 as well

AHH... I read the caveats, just re-read them.  I set the dialog off in the dropdown source list, the wrong list - that is...   Setting dialog off on the list we are working in (not the list we are adding new to) cleared things up. .  

I saw work item 7626 (and, since this will be in dev at least another two months!) I am just looking at this now, as well...

Thanks again!

Rich