Hello all,
I have an issue when trying to create an item in other list in "spSaved" event, it never creates the element, but if I try to create it from "spBeforeSave", it works properly.
Here is my code:
fd.spSaved(function (result) {
pnp.sp.web.lists.getByTitle('ExternalList').items.add({
Title: "Text",
CustomerId: result.Id
});
});
Any idea will be appreciated.