I'm trying to set the Alias on a MapProjectItem. The code works and the value is set if I repeat the code in the same Pro session but once I exit Pro and go back in, the Alias is back to null.
IEnumerable<MapProjectItem> mapItems = Project.Current.GetItems<MapProjectItem>();
foreach (MapProjectItem mapItem in mapItems)
{
mapItem.Alias = "DA Test Alias";
}
I'm using Pro 3.0