привет. у меня есть пример
def show_model_info(model):
context.Logger.Info("show_model_info")
context.Logger.Info("Property Property_1=" + model.Data.Property_1)
def open_custom_modal():
dialog_builder = context.PlatformServices.DialogBuilder('4b7675ae-406a-45bd-9bf9-526cc78ce476')
dialog_builder.WithEntryId(1).WithTitle("Open for test").WithPageId('8bd5310a-b7ff-4f65-bc38-3f4c20058483')
dialog_builder.WithVSize("480px").WithHSize("640px")
dialog_builder.WithParameter("Property_1", "Incoming data for the property")
dialog_builder.OnComplete(lambda model: show_model_info(model))
dialog_builder.OpenDialog()