English
Groovy Code Example
About 75 wordsLess than 1 minute
2026-01-09
UIAction openDialogAction = OpenDialogAction.build{
type = "ShowCenter" //Display mode, currently supports two modes: "ShowCenter (centered dialog)" and "FullScreen (full-screen display)"
title = "Mandatory Notice" //Title
width = 800 //Width, only effective in ShowCenter mode
maxHeight = 123 //Maximum height, only effective in ShowCenter mode
userData = ["key":"value"] //Returned data, this part is user data with map data structure
component { //Custom component
apiName = "component_PhjHJ__c" //API name of custom component
}
}
return openDialogAction