Forum

HomeHomeCoreCoreGeneralGeneralOpenWebStudio 02.03.02 (ALPHA) is available! OpenWebStudio 02.03.02 (ALPHA) is available!
Previous
 
Next
New Post
7/15/2018 10:08 AM
 

This is an alpha build and not every aspect has been fully tested. The UserLogin Issue identified in the previous thread (2.3.0) has been resolved. The hanging "Fetching Data..." reported in previous thread (2.3.1) has been resolved. Additionally, the Input Action has been adjusted to force TLS1.2 connections when using HTTPS.

The new release maps functionality for DNN9 support, and fixes a few issues along the way. Primarily - the AppSetting for the connection string is no longer necessary. The build requires Full Trust at present, so please make sure that the web.config is configured properly. Additionally - DNN9 no longer contains the SharpZipLib, which OpenWebStudio uses. This has been included in the package by default.

Please install this in a development environment until you are certain there are no issues. Please update this forum if there ARE any issues!

Finally - OWS was migrated to github back in 2013. The latest code branch is present there, and will continue to be supported in that location. The SourceForge location will contain only release packages from now on.

Now - go grab a copy!

r2i.OpenWebStudio_DotNetNuke_2.3.2.0_Install.ALPHA.zip (SourceForge)

or

GitHub/OpenWebStudio/02.03.02


Kevin M Schreiner
Open Web Studio
PayPal - The safer, easier way to pay online!
New Post
7/18/2018 3:33 PM
 

I'm uploading a file, then testing if it's an image using [FORMAT,PATH,{FILE.IMAGE}] so that I can create a thumbnail image of it, but I'm getting nothing returned from the test eg:

If '[format,frmFile,form,{FILE.IMAGE}]'='True'

  • '' = 'True' = False
  • Failed: Skipping child actions.
  • In this particular instance the file is a jpg, and if I try with another file type such as a word document, I see the same result.  Have I made a mistake or is anyone else seeing this?

    Many thanks

    Barry

    New Post
    7/22/2018 10:09 AM
     

    That fails because the formatter is expecting the incoming parameter to be a path to a file to verify it, rather than the physical file itself.

    Instead, you want to use the Input File Values:


    [frmFile.Path,Form] – returns the full directory name of the file that is received through the form, from the source machine.
    [frmFile.Name,Form] – returns the full file name, including the extension of the file.
    [frmFile.NameOnly,Form] – returns the name, without the extension for the file.
    [frmFile.Extension,Form] – returns the extensions of the file.
    [frmFile.Type,Form] – returns the MIME type (discussed in the appendix)
    [frmFile.Length,Form] – returns the physical byte length of the incoming file.
    [frmFile.Height,Form] – Returns the vertical height of the file if the file is an Image
    [frmFile.Width,Form] – Returns the horizontal width of the file if the file is an Image

    In your case you can check to see if the Type starts with Image, or if the Width or Height is not equal to Undefined.


    If '[frmFile.Width]'!='Undefined'



    Kevin M Schreiner
    Open Web Studio
    PayPal - The safer, easier way to pay online!
    Previous
     
    Next
    HomeHomeCoreCoreGeneralGeneralOpenWebStudio 02.03.02 (ALPHA) is available! OpenWebStudio 02.03.02 (ALPHA) is available!


     

    New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seattle, WA • info@openwebstudio.com

    Bookmark & Share Bookmark and Share