Thanks for the reply Ravi.
Sadly, the IBM site search is not that good, can you please provide a pointer to the "aspect.after" documentation. I'm trying to find some samples on how to use it.
Regards
------------------------------
Martin Iturbide
Consultant
Next Step C.A.
Quito
------------------------------
Original Message:
Sent: Fri February 03, 2023 07:03 PM
From: Ravi teja
Subject: Navigator: Execute an acction on Adding Files on the Document Widget
Hi Martin,
We can use aspect.after function to call rest api .
another way is on create event trigger Rest API call.
Original Message:
Sent: 2/3/2023 11:13:00 AM
From: Martin Iturbide
Subject: Navigator: Execute an acction on Adding Files on the Document Widget
Hi
I'm checking this tutorial "When adding case document, copy the case property values to matching case document property values."
I'm using Content Navigator 3.0.13
My goal is to modify the "Add Document" button so when a file is uploaded a REST service is executed sending the ID of the file that was uploaded.
My issue is that I can not find on the API which is the correct function that will execute after the "Add" button click.
I'm looking the Javascript API information here, but I'm still lost of what is the correct method. Should I be looking into "AddContentItemPropertiesPane" for this?
If someone can provide me some working sample on executing a REST when the document is added, I will appreciate it. Other workarounds to do the same are also welcome.
Regards
------------------------------
Martin Iturbide
Consultant
Next Step C.A.
Quito
------------------------------