Message 1 of 9
Is the parameter empty?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Once sync is done an event triggers. The idea of it is to show a list of all instances, sheets, views in the project that *have a specific parameter AND *it is unfilled so that a user can see all of them and fill the parameter with the required text. Any recommendations/advice will be greatly appreciated.
PS: not a lot of API experience.
class ExternalDBapp : IExternalDBApplication
{
public ExternalDBApplicationResult OnShutdown(ControlledApplication application)
{
application.DocumentSynchronizedWithCentral -= FilledParameter;
return ExternalDBApplicationResult.Succeeded;
}
public ExternalDBApplicationResult OnStartup(ControlledApplication application)
{
application.DocumentSynchronizedWithCentral += new EventHandler<DocumentSynchronizedWithCentralEventArgs>(FilledParameter);
return ExternalDBApplicationResult.Succeeded;
}
public void FilledParameter(object sender, DocumentSynchronizedWithCentralEventArgs args)
{
//??
TaskDialog.Show();
}
}
}