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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Module GetALL modificationCustom Module GetALL modification
Previous
 
Next
New Post
12/6/2007 5:33 PM
 

Hi I followed the Guestbook tutorial to create my own custom module and it works!!!

My problem is that I want to add another parameter to the GetALL Stored procedure of my module and then add it to the settings page as a preselected drop down

So if they choose UP from the module settings I want it to GetALL(moduleId, Direction) where it will use the settings direction to query by.

so I added a @Direction nvarcahr(50)
as a parameter in the GetALL Storedprocedure

I then added the Direction variable to the dataprovider and sqldataprovider functions and module controller

However I cannot find where GetALL is actually being called (I assume its being called from some default library funciton in the DNN framework)

and as such when it tries to bind my datagrid I get an error says object_tasks cannot accept ModuleId as Parameters

Probably because its not passing the newly require Direction parameter from the settings...

Please help!

 
New Post
12/6/2007 10:56 PM
 

The GetAll method is not part of the core, you created GetAll when you performed the functions on this page of the tutorial:

http://www.adefwebserver.com/DotNetNukeHELP/DNN_Module4/DotNetNuke_module_4.htm

You created the stored procedure, and the DAL methods. You can now alter them as you desire.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
12/7/2007 11:39 AM
 

Yes the problem is that I cannot see where GetALL is being referenced the actual method that calls GetALL is not modified by me, therefore when I modify the getAll method to include a new parameter the call is failing because I cannot find where to tell it to add the parameter from the settings file.

 

 
New Post
12/8/2007 1:21 AM
 

Can you indicate the change you made and the exact error you received?



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
12/10/2007 11:48 AM
 

I realized that for this it would work to just use 2 different pages with 2 different modules which segregates the data anyway by module.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Module GetALL modificationCustom Module GetALL modification


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