DamLink notifications on folders
Hi Experts,
We have a successful Hybris 5.5 installation (that will be upgraded soon to 6.3) that works fine with DamLink installation on a Dam 10.5 server,
we are using the push notification system that sends messages whenever items metadata change in Dam server; we are trying to send push notifications
also on Folders items, but seems that does not works.
It is possible to send notifications on Folders metadata changes?
TY
Antonio
Comments
-
Hi Atonio,
yes, this works.
You have to enable the OTMM event with id 30020 (Folder was updated) and adjust the damlink_config.xml accordingly.
Note: With the latest DAMLink version 16.2 the handleNotification() interface slightly changed. It is now a Hybris Task that is triggered to do the processing.
Best regards, Xaver
Quoted Antonio Salandra on 03/30/2017 02:51 PM:Hi Experts,
We have a successful Hybris 5.5 installation (that will be upgraded soon to 6.3) that works fine with DamLink installation on a Dam 10.5 server,
we are using the push notification system that sends messages whenever items metadata change in Dam server; we are trying to send push notifications
also on Folders items, but seems that does not works.
It is possible to send notifications on Folders metadata changes?
TYAntonio
0 -
Hi Xaver
We had updated the database in order to send updates on directory change:
update <schema>.EVENT_CTXTS
set IS_ENABLED_EXTERNAL='Y'
where (EVENT_ID='30020')After that I've modified the damlink_config:
...
<connection ...
<events>80008,30020</events>
</connection>...
<eventlistener>
<class>com.opentext.sap.damint.service.OTDCEventNotifier</class>
<active>true</active>
<params>
<events>80008,30020</events><notificationconfig connectionid="HybrisConnectionAntonioArchitettura" damfieldid="FS.FIELDGROUP.AA.FONDO" id="HybrisAntonioFolder" istabular="true">
<datafields>
<datafield damid="FS.AA.FIELD.F.CODICE" datatype="string" id="id1" name="FS.AA.FIELD.F.CODICE"/>
</datafields>
</notificationconfig>but Dam does not sends notifications anymore.
Do I've missing some configurations or some errors on damlink_config?Best regards
Antonio
0 -
Hi Antonio,
damlink_config.xml looks good. Let's double-check that you used the right names/ids.
Here you need to use the ID of the Tabular Field Group: damfieldid="FS.FIELDGROUP.AA.FONDO" .
And here it is the first the ID and then the name of the field in the Tabular Field Group: <datafield damid="FS.AA.FIELD.F.CODICE" datatype="string" id="id1" name="FS.AA.FIELD.F.CODICE"/>
The later look like it's again the ID?
If you enable DEBUG logging in OTMM you should see in mediamanager-appserver.log that the event 30020 was fired and an indication whether OTMM tries to send the notification to Hybris and whether this was successful.
Best regards, Xaver
0 -
Finally I found the problem: "istabular" flag is "false" where was set to "true".
TY for your help
Antonio
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories