jcribb
06/27/2018, 7:19 PMjcribb
06/27/2018, 7:20 PMalien4u
06/27/2018, 7:21 PMjcribb
06/27/2018, 7:21 PMjcribb
06/27/2018, 7:21 PMalien4u
06/27/2018, 7:24 PMtranid
?erictgrubaugh
06/27/2018, 7:26 PMalien4u
06/27/2018, 7:29 PMalien4u
06/27/2018, 7:30 PMtranid
right on the screen...erictgrubaugh
06/27/2018, 7:31 PMalien4u
06/27/2018, 7:32 PMalien4u
06/27/2018, 7:34 PMalien4u
06/27/2018, 7:42 PMshea
06/27/2018, 7:47 PMsearch.LookupField
, when used on a multiselect field, will return 2 entirely different data structures, depending on the Labels/Text of the selected values.
Those without any commas: [{"value":"3091","text":"Test"},{"value":"3094","text":"Test without comma"},{"value":"3101","text":"Test 2"},{"value":"3114","text":"Test 3"},{"value":"3153","text":"Test 4"}]
Those with any commas: {
"value": "3091,3094,3101,3114,3153",
"text": "Test,Test , with comma,Test 2, Test 3,Test 4"
}
alien4u
06/27/2018, 7:54 PMgetLookUpData
to handle return data from search.LookupFields
but it does not handle Multi-Select Fields as @erictgrubaugh notice and let me know, I did not even worry about that and now with @shea discovery I'm glad I did not do it...jkabot
06/27/2018, 7:55 PMshea
06/27/2018, 7:56 PMstalbert
06/27/2018, 7:56 PMjkabot
06/27/2018, 7:56 PMshea
06/27/2018, 7:58 PMalien4u
06/27/2018, 8:00 PMalien4u
06/27/2018, 8:00 PMtranid
is undefined...The NFT(TypeScript God) handle that?jkabot
06/27/2018, 8:01 PMshea
06/27/2018, 8:03 PMjkabot
06/27/2018, 8:09 PMvar poNum = myCurrentRecord.getValue({
fieldId: 'transactionnumber'
});
alien4u
06/27/2018, 8:14 PMPURCHORD53960
My PO Number is: PO-350267
jkabot
06/27/2018, 8:15 PMjkabot
06/27/2018, 8:15 PMjonallenaz
06/27/2018, 8:18 PM