Description
Notifies various user interface elements that a database object has been inserted, deleted or updated.
Look here:
Syntax
RaiseInternalAlert(GNClient.TriggerCause.cause,string objectTypeName, int id) or RaiseInternalAlert(GNClient.TriggerCause.cause,IGenericAttrObjList selection); or oid RaiseInternalAlert(IList<AlertItem> alertItems); |
cause
The cause indicates the action that has occurred, typically TriggerCause.Spike, TriggerCause.Create or
TriggerCause.Modify.
objecttypename
The objectTypeName should be objectType name of the objects involved.
id
The id parameter is the id of the database object.
Examples
App.RaiseInternalAlert(GNClient.TriggerCause.Create, "lib", dlg.ObjectId)
App.RaiseInternalAlert(GNClient.TriggerCause.Spike, "libObj", libId)
App.RaiseInternalAlert(GNClient.TriggerCause.Modify, "task", task.Id)
ApplicationBase.Current.RaiseInternalAlert(AlertItem.CreateList(GNClient.TriggerCause.MarkAsRead, selection))
main.App.RaiseInternalAlert(GNClient.TriggerCause.Spike, main.GetSelectedObjects())
ShellApp.RaiseInternalAlert(GNClient.TriggerCause.Modify, "article", ids)
TedApp.ClientApp().RaiseInternalAlert(AlertItem.CreateList(GNClient.TriggerCause.Modify, editDialog.ObjectTypeName, ids))
App.RaiseInternalAlert(alertItems)