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.0Can dotnetnuke function be called by an external program?Can dotnetnuke function be called by an external program?
Previous
 
Next
New Post
12/10/2006 1:42 AM
 
folks,

is it possible to call a dotnetnuke module from an external function (include one of the custom dotnetnuke module namespace  in one of my custom class)?  Basically, Dotnetnuke module will return the logon user id to an external program, and in turn, this program will user this user id to do something else...
Thanks

 
New Post
12/10/2006 3:38 PM
 
Modules are basically code libraries (.dll) with a presentation layer in the form of a user control. This means, that as long as you expose methods, and add references to your application. You should be able to call a method. That being said. Modules execute within the context of the DNN application which is an HTTP context, so some of the information may not be availabe unless you can simulate a request.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
12/14/2006 12:50 AM
 

correct me if I'm wrong folks, in order to access to mine new custome module (let's say this module will return the logon user id), I'll need to create its new instance (e.g. myClass oUserID = new myClass();) of it .  Since this is a new instance, it is not going to return the actual logon user id which was tied to mine browser.  I'm new to this and I'm very confused, please help

Thanks

 
New Post
12/14/2006 8:48 AM
 

Please download the documentation zip. Inside it you will find a Module Developers Guide, it has the information you need, including how to package your modules for installation.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
12/15/2006 8:12 PM
 

"Please download the documentation zip...."  I was already went over the documentation and I didn't see anything that was related to "calling a dnn module from an external function". 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Can dotnetnuke function be called by an external program?Can dotnetnuke function be called by an external program?


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