質問
I made Event receiver ItemAdded. on this event i ll try to get Related field its always null. But in the display form is not null. please help -need this field, and then parent item.
{
base.ItemAdded(properties);
if (properties.ListTitle == "Task")
{
try
{
SPListItem taskItem = properties.ListItem;
object relitem = null;
relitem ==taskItem[SPBuiltInFieldId.RelatedItems]
解決
Just to be sure, try to get the values from ItemUpdated event. Maybe the reason why that the values are not available is because they aren't exist yet.
所属していません sharepoint.stackexchange