ericbirdsall
02/27/2024, 5:00 PMerictgrubaugh
02/27/2024, 5:05 PMerictgrubaugh
02/27/2024, 5:07 PMrecord.load()
. When I need to get the options of a Custom List, I usually run a query or search.ericbirdsall
02/27/2024, 5:11 PMAnthony OConnor
02/27/2024, 5:12 PMericbirdsall
02/27/2024, 5:13 PMAnthony OConnor
02/27/2024, 5:13 PMAnthony OConnor
02/27/2024, 5:14 PMAnthony OConnor
02/27/2024, 5:15 PMericbirdsall
02/27/2024, 5:15 PMAnthony OConnor
02/27/2024, 5:16 PMericbirdsall
02/27/2024, 5:16 PMAnthony OConnor
02/27/2024, 5:17 PMerictgrubaugh
02/27/2024, 5:23 PMafterInstall
script could build the default instances. The client could rename it once. Future updates shouldn't re-execute afterInstall
, so the record should be safe from reverting.erictgrubaugh
02/27/2024, 5:24 PMerictgrubaugh
02/27/2024, 5:26 PMbeforeUpdate
to create and store a map of ID to Name for the list options. Use afterUpdate
to restore the map.ericbirdsall
02/27/2024, 5:27 PMCould you convert the List to a Custom Record?Yes, but it's exactly as you said- a lot of refactoring effort all for one client
erictgrubaugh
02/27/2024, 5:27 PMericbirdsall
02/27/2024, 5:28 PMAnthony OConnor
02/27/2024, 5:28 PMcustomlist
add a filter with your script id custlist_my_custlist
and then just get the id of the only result... then you can record load with the id?ericbirdsall
02/27/2024, 5:28 PMAnthony OConnor
02/27/2024, 5:29 PMericbirdsall
02/27/2024, 5:30 PMAnthony OConnor
02/27/2024, 5:31 PMericbirdsall
02/27/2024, 5:32 PMehcanadian
02/27/2024, 5:48 PMericbirdsall
02/27/2024, 5:49 PMehcanadian
02/27/2024, 5:50 PMericbirdsall
02/27/2024, 5:51 PMehcanadian
02/27/2024, 5:55 PMThe Merge Data option retains any data added to target account objects after bundle installation and at the same time updating data that was previously installed with the bundle.
ehcanadian
02/27/2024, 5:55 PMericbirdsall
02/27/2024, 7:00 PMerictgrubaugh
02/27/2024, 7:17 PMAnthony OConnor
02/27/2024, 7:46 PMerictgrubaugh
02/27/2024, 7:48 PMerictgrubaugh
02/27/2024, 7:48 PMSELECT id FROM customlist2 WHERE name = '${listOption}'
erictgrubaugh
02/27/2024, 7:53 PMname
is the field for the label on a custom listericbirdsall
02/27/2024, 7:53 PMerictgrubaugh
02/27/2024, 7:54 PMAnthony OConnor
02/27/2024, 7:54 PMerictgrubaugh
02/27/2024, 7:55 PMericbirdsall
02/27/2024, 7:56 PM