private void DashboardEdit_Execute(object sender, SimpleActionExecuteEventArgs e) { IObjectSpace os = Application.CreateObjectSpace(); BIDashboard dashboard = os.GetObjectByKey <BIDashboard>(((BIDashboard)View.CurrentObject).Oid); DetailView dv = Application.CreateDetailView(os, "BIDashboard_DetailView", true, dashboard); dv.ViewEditMode = ViewEditMode.Edit; e.ShowViewParameters.CreatedView = dv; }
public BIDashboardDTO(BIDashboard source) : base(source) { BIDashboardID = source.BIDashboardID; OrganizationID = source.OrganizationID; DashboardUrl = source.DashboardUrl; DisplayName = source.DisplayName; DisplayOrder = source.DisplayOrder; PermissionID = source.PermissionID; IsDefault = source.IsDefault; }