HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsReportsReportsUsing javascript in report resultUsing javascript in report result
Previous
 
Next
New Post
4/19/2010 5:25 AM
 

 Dear all, I'm not a DNN expert, but have had my share of struggles with all kinds of environments.

I'm trying to use the reports module to generate html output with some <script> (javascript) tags in there.

For some (most likely security reasons) none of the <script> tags are rendered.

Has anyone an idea on how to render the results (xls report or html) with the <script> tags? Or should I look for another solution?

Thanks in advance.

Joep

 
New Post
4/19/2010 11:19 AM
 

How are you trying to inject the script? 


Chris Paterra



Get direct answers to your questions in the Community Exchange.
 
New Post
4/19/2010 5:55 PM
 

 Hi Chris,

I've tried it in 2 different ways. First I created a XSL template (using the XSL visualizer). I was able to get this working with a Google graph. But the google graph does not require a javascript (all details are on the image URL).

When I create the XSL, the transformation is working fine in development tools (e.g. XML cooktop), but as soon as I put the XSL live in DNN, the render result HTML is stripped of all <SCRIPT> tags. 

The same situation is also occurring when I use the HTML visualizer, again the template looks great but as soon as it is rendered in DNN, all <SCRIPT> tags are removed.

What I want to do is use the results from my input forms (using Datasprings Dynamic forms) to be presented via the Reports module. I've found a nice slideshow javascript and want to incorporate the form inputs into the slideshow to showcase the selected pictures.

Hope this makes it a bit more clear.

Kind regards

Joep

 

 
New Post
6/13/2012 8:06 AM
 
I modified the DLL to remove that security feature. Use at your own risk, it's safe depending on your specific use case. Message me if you want the DLL.

Please vote for DNN Site of the Year!
 
New Post
6/18/2012 7:58 AM
 
I urgently need to embed a swf object that come with a javascript code. Could you provide me this modified DLL?
 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsReportsReportsUsing javascript in report resultUsing javascript in report result


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.