Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

(MYSQL) External DB Connection
Last Post 07-15-2012 11:10 PM by hicham. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
hichamUser is Offline
wading in the water
wading in the water
Posts:21
Avatar

--
07-11-2012 11:56 PM

    Hello,

    I'm trying to connect to an extern db (Mysql), to send the link of an pdf file that i just created with another completion event (i'm using here sql editor), I'm using as external DB connection this: SERVER = 127.0.0.1;Port=3306;DATABASE = dnnTest;UID=root;PASSWORD=xxxxx
    I have tested the same for external MSSQL db and that works but i get no real data only $(PDFLink:CreatePdf), how to get the correct link as parameter for sql statement?

    Thanks in advance for help.

    hichamUser is Offline
    wading in the water
    wading in the water
    Posts:21
    Avatar

    --
    07-13-2012 02:28 AM
    Or how to retrieve the guid of de pdf file EventName_xxxxxxx-xxxxx-xxxxxxxxx-xxxx-xxxxxx ? can i find this guid somewhere in the database? I want to insert the link of the pdf file in an table outside Dnn db.

    Thanks.
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    07-13-2012 08:18 AM
    Hi Hicham,

    Please use $(UniqueCompletionID) as the GUID.

    Thanks.
    Camdace

    hichamUser is Offline
    wading in the water
    wading in the water
    Posts:21
    Avatar

    --
    07-15-2012 11:10 PM

    Hi Camdace,

    I use the $(UniqueCompletionID) but this is not the same guid of the pdf file.
    My sql query like:
    INSERT OPENQUERY (MYSQL, 'select link from dnntest.link') values ('http://' + '$(PortalAlias)' + '/Portals/' + '$(PortalID)' + '/Dynamic_Forms/CreatePdf_' + '$(UniqueCompletionID)' + '.pdf' );


    I want to get the correct guid of de pdf file, i have made an email event just for the test, and i see that the guid of de pdf is not the same as The UniqueCompletionID.

    Thanks,
    Hicham.




     



     


     



     

     

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi