Hi
On a razor page template, I call on an external Item called "Alert", and the item-id is 1. It´s based on this https://doc.dynamicweb.com/api/html/c288eaa6-2bb8-405c-d939-112efc1ff104.htm
Now, this requires that the Item Id = 1 exists. If someone accidentially deletes the page where itemid 1 is located, the Item reference no longer exists, and the whole website breaks down because of this. How can I check if the item of this specific type and id exists, before I do the processing?
/Hans