skg
2006-04-06 22:14:47 UTC
I am setting default view using following code snippet. it gets set for some
of the folders which does not have any views.
But if a folder has an existing view it does not get sets.
Appreciate any suggestiosn.
SPropValue ival;
val.ulPropTag = PR_DEFAULT_VIEW_ENTRYID;
val.Value.bin = plSrc[0].Value.bin;
hRes= pIlFolder->SetProps(1, &val, NULL);
hRes= plIFolder->SaveChanges(0);
thx
of the folders which does not have any views.
But if a folder has an existing view it does not get sets.
Appreciate any suggestiosn.
SPropValue ival;
val.ulPropTag = PR_DEFAULT_VIEW_ENTRYID;
val.Value.bin = plSrc[0].Value.bin;
hRes= pIlFolder->SetProps(1, &val, NULL);
hRes= plIFolder->SaveChanges(0);
thx