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...Getting StartedGetting StartedGetting Specific Modules URL via IDGetting Specific Modules URL via ID
Previous
 
Next
New Post
7/13/2012 10:55 AM
 
I need to get the URL's of various HTML modules placed throughout the site. I have the Modules ID and one would think I could get their URL with that. I've tried NavigateURL, but that has been giving me "Object reference not set to an instance of an object." error. Any ideas on how to get the URL's or why NavigateURL isn't working for me?
 
New Post
7/13/2012 4:28 PM
 
Okay, I found this: http://www.dotnetnuke.com/Resources/Forums/forumid/203/postid/361541/scope/posts.aspx
The guy in the last post he mentions you don't have portalsettings if you are in a scheduled task which is where I'm calling NavigateURL. Now, does anyone know how I can get the portal settings and assign them?
 
New Post
7/13/2012 4:41 PM
 
navigateurl is intended for tabs (pages) and not modules -in addition you need to work with tabmoduleid's rather than moduleid's i.e. the instances of the module on a page, rather than the module itself.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedGetting Specific Modules URL via IDGetting Specific Modules URL via ID


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