How to get Project field WPROJ_STS_SUBWEB_NAME

Apr 19, 2013 at 12:06 PM
Edited Apr 19, 2013 at 12:07 PM

I'm trying to get in the code the value of field WPROJ_STS_SUBWEB_NAME (this is standard field of table [MSP_PROJECTS]):

For that I described a class project:
public class Project
        [PSEntityUidField(ColumnName = ProjectCustomFieldsColumnNames.PROJ_UID)]
        public Guid Uid { get; set; }

        [PSNativeField(ColumnName = ProjectCustomFieldsColumnNames.PROJ_NAME)]
        public string Name { get; set; }

        [PSNativeField(ColumnName = "WPROJ_STS_SUBWEB_NAME")]
        public string SubWebName { get; set; } 
and use it:
Project proj = projectsService.Get(_projectGuid, true);
string _projectName = proj.Name;
string _projectSubWebName = proj.SubWebName; // always is null
But value always is null...

How to solve this problem?
Apr 19, 2013 at 3:25 PM

The reason for that is the value for WPROJ_STS_SUBWEB_NAME column is not returned by the PSI web service.