web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Retrieve SiteMap XML using C#

(0) ShareShare
ReportReport
Posted on by 290

Hello All, 

As you know already as part of Dynamics 365 release, Microsoft provides a wonderful feature, We can create multiple apps with separate sitemaps for each one of them, Can anyone help us to retrieve all of the existing apps along with their sitemap xmls by using C# code

Thanks 

Ashok J

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Xrm Toolbox (http://www.xrmtoolbox.com/) has a plug-in to review and save sitemaps. It works pretty well. Or do you need to do something with the XML programatically?

  • Suggested answer
    sandeepstw Profile Picture
    4,601 on at

    Hi,

    Site map stores in Sitemap entity, so you can retrieve sitemap entity using web api. Also understand sitemap attributes using this link:

    msdn.microsoft.com/.../gg334430.aspx

    for more information use:

    msdn.microsoft.com/.../gg309424.aspx

    Don't forget to verify answer!

    Thanks,

    Sandeep

  • ashok teja Profile Picture
    290 on at

    Hello Sandeep,

    Currently we're using following code, it works fine but here the issue is, using this we only getting the sitemap of default app, could not be able to get SiteMaps of all of the existing custom apps.

    QueryExpression qe = new QueryExpression("sitemap");
    qe.ColumnSet = new ColumnSet("sitemapxml");

    EntityCollection ec = _orgServiceProxy.RetrieveMultiple(qe);

    Thanks 

    Ashok J

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans