hello
I'm developping a method that is going to be trigered by a server event on before Add/update .The method needs to retrieve the inputs entered by the user creating the item.
problem is when i was first testing this method. I tested it with an already created object that i got by keyed name but in reality the item is not yet created and i need to retrieve the instance of the object in my method to be able to execute my logic.
i've tried this :
Item template = inn.getItemById("ZFCcontrainteTemplate", this.getID());
but got this error:
Object reference not set to an instance of an object.
the method is c# server side
obviously i feel like the this.getID is not suficent to point to the instance of the item being created but i have really no idea where to look for that so if you have any information that might help me it would be much apreciated.
thanks
lucas