Working with File Action in OWS - Issue 53
Last Post 02/20/2014 11:09 PM by Joseph Craig. 7 Replies.
Author Messages
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/29/2010 6:22 AM
    Add any comments or questions regarding the Working with File Action in OWS tutorial from Issue 53
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Andre Decio
    Nuke Active Member
    Nuke Active Member
    Posts:32


    --
    12/11/2011 4:26 AM
    Hi there. I've posted a similar question in the Mushroom RAD forum. Just need to know how to develop a News list including images/vids using OWS. Cheers for any advice.
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    12/12/2011 5:44 AM
    RAD or OWS?

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Andre Decio
    Nuke Active Member
    Nuke Active Member
    Posts:32


    --
    12/13/2011 1:29 AM
    From the tutorials I've seen on OWS and Mushroom RAD, the RAD seems more usable. Cheers.


    Question on a slightly different matter: I want to make a pdf file downloadable from my website. Using a a href=..... but cant seem to get the URL right. Is there something else I need to configure to enable this file to be dowloadable? If I have the pdf in my root folder for the portal what's the correct URL reference (or is that something I have to get my web hosts to define in IIS or whatever ?)

    Cheers
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    12/13/2011 6:40 AM
    My characterization would be that OWS has a steeper learning curve than RAD. You can do both simple and complex modules using both products.

    As for the file question, you can simply link to the file using the Editor in most modules. You will get a link that uses the LinkClick function. If the file is in the Standard file system, you can refer to it by name so your link should be something like http://mysite.com/Portals/N/myfilename.pdf. (Assuming you are using Portal N)

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Andre Decio
    Nuke Active Member
    Nuke Active Member
    Posts:32


    --
    12/16/2011 9:10 PM
    Thanks Joe, I was forgetting to add the '/portals/n/' extension!

    I'm definitely getting slower (brain!) and still can't get my head around how to create vb.net code and respond to events. Probably because I've only used Visual Studio 2008 up to this point. Are there any example sites I can look at the source code and work it out? I suppose my main (stupid) confusion is the fact that .aspx files are what I've worked on so far. The events can be 'trapped' from the code behind. But for a .ascx file can I do the same thing? If for example I put some vb.net code in a .ascx file to respond to eg. a PageLoad event, and I put some more code in another .ascx file (on the same page), which one runs first? Or am I talking out of my earhole as usual. Cheers
    Cam
    Posts:99


    --
    02/20/2014 5:00 PM
    Hi

    Is it possible to restrict the file type uploaded in the File Action in OWS?

    I want my users to be able to upload PDF files only?

    Is this possible?

    Please help
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    02/20/2014 11:09 PM
    I don't know. I haven't been keeping up with OWS, but I know that there is a group that uses it.

    You'll probably get the best advice if you as on the OWS forums at http://www.openwebstudio.com/Commun...orums.aspx

    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---