Page 1 of 1

nuGetLookupId Wiki

Posted: Wed Aug 26, 2020 2:10 pm
by kev1n
Hi Steven

Looking at the source code, the description of the 2nd parameter (string2), should be changed to:

string2 = Object id of Lookup Object to populate

https://wiki.nubuilder.cloud/ ... etLookupId
nuGetLookupId(string1, string2)

Parameters

string1 = Primary Key
string2 = Primary Key of Lookup Object to populate

nuGetLookupId() function:

Code: Select all

function nuGetLookupId(pk, id){

	$('#nuLookupList').remove();
	
	var l				= $('#' + id);

Re: nuGetLookupId Wiki

Posted: Fri Aug 28, 2020 11:39 pm
by admin
kev1n,

How's that now?

https://wiki.nubuilder.cloud/ ... etLookupId


Steven

Re: nuGetLookupId Wiki

Posted: Sat Aug 29, 2020 3:00 am
by kev1n
Hi Steven

The description is right now.

Maybe also change the Example from

Code: Select all

nuGetLookupId('5afaa13eb523846', '5afaa13eb523832')
...to:

Code: Select all

nuGetLookupId('5afaa13eb523846', 'firstname')
...to make it more clear that the 2nd parameter is the Object I'd.

Re: nuGetLookupId Wiki

Posted: Sat Aug 29, 2020 8:11 am
by admin
Done!

Re: nuGetLookupId Wiki

Posted: Sat Aug 29, 2020 8:22 am
by kev1n
Thanks!

Re: nuGetLookupId Wiki

Posted: Sat Aug 29, 2020 11:18 pm
by admin
.