Hi,
Is there a notifier after importing data where it is possible to see which tables have been updated?
Best regards, Andes
Hi,
Is there a notifier after importing data where it is possible to see which tables have been updated?
Best regards, Andes
Hi Anders,
This will be implemented in DW 8.3. It will be a simple notifier that will simply report back the same tables that are included in any given Data Integration job. It will be specific for Data Integration.
Regards /Snedker
Hi Morten,
Is this added to 8.3? And do you have a name of the subscriber? :-)
Best regards, Anders
Hi Anders,
It should have been - but regret to say that it has been missed. It will be out in a release this upcoming week, though.
You will be able to reference the notification via
[Extensibility.Subscribe(Dynamicweb.Notifications.Integration.JobFinished)]
Example:
namespace Dynamicweb.Examples.CSharp.Notifications.Integration { [Extensibility.Subscribe(Dynamicweb.Notifications.Integration.JobFinished)] public class JobFinishedObserver : Dynamicweb.Extensibility.NotificationSubscriber { public override void OnNotify(string notification, Dynamicweb.Extensibility.NotificationArgs args) { Dynamicweb.Notifications.Integration.JobFinishedIntegrationArgs integrationArgs = args as Dynamicweb.Notifications.Integration.JobFinishedIntegrationArgs; //TODO: Add code here //Sample code: //If the job finished successfully if (!integrationArgs.JobFailed) { //Clear language cache if the import was to Languaguages table if (integrationArgs.DestinationTables.Contains("EcomLanguages")) { Dynamicweb.eCommerce.International.Language.ClearLanguageCache(); } } } } }
Regards /Snedker
You must be logged in to post in the forum