Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsProvidersProvidersWeb Service get dnn pagesWeb Service get dnn pages
Previous
 
Next
New Post
11/7/2013 6:05 PM
 

I've created a web service that works with my dnn site to let me do a few things from another application. Is there a way I can get all of the pages and sub pages from the DNN site? I.e. say I wanted to create a menu that is the exact same as my dnn site, but pull it dynamically so the pages change along with any changes on my dnn site. I'm assuming there's some class or controller I can work with to get the pages and child pages, I just don't know where it is. Thanks

 
New Post
11/8/2013 4:18 AM
 
you would need to create a web service in DNN to issue the same information as handed over to the menu component.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/8/2013 6:44 AM
 
The TabController has functions to let you interate down the tab tree.

List Tabs = TabController.GetPortalTabs( PortalId, Null.NullInteger, false, true, false, true);

This would give you a list of tabinfo objects to play with.

Westa
 
New Post
11/8/2013 9:13 AM
 

Would that be done using the tabcontroller as wes suggested? I have a web service already created on my dnn site doing other things, so I'm good there. I just didn't know what class or controller I should be looking for to return the menu items. I'll look into the tabcontroller unless you know of anything better.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsProvidersProvidersWeb Service get dnn pagesWeb Service get dnn pages


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out