Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

How to get projectsiteurl of a published project

$
0
0

I am using csom to get project site url of all projects in project server 2013(online)

i tried p.ProjectSiteUrl which ends up throwing an exception  " property or field 'ProjectSiteUrl' has not been initialized. it has not been requested or request has not been executed it may need to be explicitly requested  "

foreach (PublishedProject p in projContext.Projects)
    {
                      
       Console.WriteLine("Name : "+ p.Name +"\n url :"+p.ProjectSiteUrl);

     }


Ranjith


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>