R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
DNN Map Module Programmability?
Last Post 21 Apr 2009 10:23 PM by SeanPuffett. 0 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
SeanPuffettUser is Offline
New Member
New Member
Posts:1

--
21 Apr 2009 10:23 PM  
I am using the Map Module version 1.0.9 with great success on a new website I'm developing, so thanks to Kevin and the team for the Module.

I have a question though about Custom Queries. Right now, I have a custom query in place. The Custom Query field contains a call to a stored procedure which returns the location data for all of businesses from my database. I'd like to be able to access this custom query string programmatically to add a parameter to the query to allow me to only return one value.

Basically, I have a map page which displays all of the business on the page. However, I also have individual pages for each business and I would like to provide a "View on Map" link for each of them. When the user clicks this link, I want to go to the existing map page, but modify the query to only return the business I'm interested in.

Can you please tell me if this is possible? Is the Custom Query string exposed programmatically at runtime? If so, could I use an OWS configuration to access it? I've only just downloaded OWS so I'm not really familiar with it yet.

I hope I've been clear and hope you can help me!

Regards,
Sean
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share