DNN Community Blog

The Community Blog is a personal opinion of community members and by no means the official standpoint of DNN Corp or DNN Platform. This is a place to express personal thoughts about DNNPlatform, the community and its ecosystem. Do you have useful information that you would like to share with the DNN Community in a featured article or blog? If so, please contact .

The use of the Community Blog is covered by our Community Blog Guidelines - please read before commenting or posting.


May the 4th - 2sxc for public forms and file upload

Every international Star Wars day we release something big. This time we've enhanced 2sxc for public forms-use with file upload and more!

New: Public Input Forms

Ever wanted to create a directory or contact form using 2sxc and wanted to use the 2sxc-form for this? Up until now, it wasn't possible - and now it is. For example, the Swiss Junior Chamber of Commerce (JCI) now let's members submit new projects with Photos and everything without having to log in:

jci-switzerland

You can now provide your own solutions like this, by simply:

  1. set permissions on a content-type
    1. for public users to write data
    2. for public users to read the schema (so the form knows what fields to show)
  2. set permissions on file-fields (to allow uploading)
  3. enable edit for public users it using @Edit.Enable
  4. add a custom button that will open the form and show "thank you" in the end

We'll create a recipe-blog post to guide you through this within the next few days. 

New: Custom Forms with File-Upload

A common request was to help with custom HTML forms, allowing for file-upload. So people would use our Mobius Forms and adapt it, but were missing the file-upload.

This is now possible in a really cool way: you can now use the standard library-fields of a 2sxc content-item and put files there with 2 lines of code in your WebAPI, by doing this:

  1. create the fields (like "Logo", or "Screenshots" etc.)
  2. enhance your WebAPI using the new SaveInAdam command

We'll publish a new Mobius Forms within the next few days and also create a recipe that you'll be able to do this yourself. 

New: Allow Only Save as Draft

Thanks to the new permission system we created in 2sxc 9.30, it is now possible to say that certain users can only save data as draft. This is great when combined with "public users can create data" or "public users can suggest edits" because nothing will be released until an admin reviews it. These new settings look like this:

save-as-draft-permissions

This will enable 2sxc to be used in many public forms scenarios like directories, show-cases and more, without any custom development :).

New: Permissions By Group

So far it was not really possible to give certain user groups in DNN limited permissions - they either had edit, or nothing. We now extended the permission system to let you specifiy rules by user groups. So this would allow you to say "members who are in the group Partners, can add directory entries" etc. This is what it looks like:

permissions-dnn-group-ids

When you use this in combination with draft-only permissions, you can quickly create powerful applications. 

New: Permissions By User

Sometimes you want to give one specific user even more specific permissions. For this scenario, just paste the user GUID in the identify field, instead of the group IDs which are numbers:

user-permissions-in-2sxc

 Again combining this with other features (save-as-draft-only, public forms, etc.) you're another step closer to building anything using just simple 2sxc and some razor templates :). 

New: App-Level Permissions

Let's get even fancier: what if you have an app, with data that should be managable by a certain user, who otherwise wouldn't have the permissions do so - now you can also set app level permissions, letting that user do certain things for all data of that app:

app-level-permissions

New: Upload Permissions on Field

To top it all off, we wanted to be sure that users with limited permissions can also upload files - like screenshots etc. This is now possible, because file-type fields can have special upload-rigths, allowing uploads (into only this specific field).

permissions-on-file-fields

We also added a lot of security checks to be really sure that nobody can abuse this. 

New: Permissions for Picking Data

When a user with limited permissions should pick other information (like categories) from a dropdown, this will now also work when you configuret that information type to be readable by this user / group.

Security First

As we're opening up 2sxc for new use cases, we want to be really sure that your systems are still the most secure ever. For this, we developed:

  1. our Security First strategy
  2. features management to ensure none of these features are even available if you don't enable them, keeping your system ultra secure even if there is a security breach
  3. fingerprints and digital signatures to ensure all this, so that no attacker can use backdoors to activate these features

May the 4th be with you

Get the latest release from the 2sxc Github Repo

Hope you love it, and may the 4th be with you always :). 
Daniel

PS: There is a more technical release blog about 9.30 here, and we'll create the recipes how to use these features + sample apps within the next few days. 


Daniel Mettler grew up in the jungles of Indonesia and is founder and CEO of 2sic internet solutions in Switzerland and Liechtenstein, an 20-head web specialist with over 800 DNN projects since 1999. He is also chief architect of 2sxc (see github), an open source module for creating attractive content and DNN Apps.



Read more posts by Daniel Mettler

Comments

There are currently no comments, be the first to post one.

Comment Form

Only registered users may post comments.

NewsArchives


Aderson Oliveira (17)
Alec Whittington (11)
Alex Shirley (10)
Andrew Hoefling (2)
Andrew Nurse (30)
Andy Tryba (1)
Anthony Glenwright (5)
Antonio Chagoury (28)
Ash Prasad (35)
Ben Schmidt (1)
Benjamin Hermann (25)
Benoit Sarton (9)
Beth Firebaugh (12)
Bill Walker (36)
Bob Kruger (5)
Bogdan Litescu (1)
Brian Dukes (2)
Brice Snow (1)
Bruce Chapman (20)
Bryan Andrews (1)
cathal connolly (55)
Charles Nurse (163)
Chris Hammond (211)
Chris Paterra (55)
Clinton Patterson (67)
Cuong Dang (21)
Daniel Bartholomew (2)
Daniel Mettler (162)
Daniel Valadas (1)
Dave Buckner (2)
David Poindexter (8)
David Rodriguez (3)
Dennis Shiao (1)
Doug Howell (11)
Erik van Ballegoij (30)
Ernst Peter Tamminga (75)
Francisco Perez Andres (4)
Geoff Barlow (12)
George Alatrash (12)
Gifford Watkins (3)
Gilles Le Pigocher (3)
Ian Robinson (7)
Israel Martinez (17)
Jan Blomquist (2)
Jan Jonas (3)
Jaspreet Bhatia (1)
Jenni Merrifield (6)
Joe Brinkman (274)
John Mitchell (1)
Jon Henning (14)
Jonathan Sheely (4)
Jordan Coopersmith (1)
Joseph Craig (2)
Kan Ma (1)
Keivan Beigi (3)
Kelly Ford (3)
Ken Grierson (10)
Kevin Schreiner (6)
Leigh Pointer (31)
Lorraine Young (60)
Malik Khan (1)
Matthias Schlomann (15)
Mauricio Márquez (5)
Michael Doxsey (7)
Michael Tobisch (3)
Michael Washington (202)
Miguel Gatmaytan (3)
Mike Horton (19)
Mitchel Sellers (29)
Nathan Rover (3)
Navin V Nagiah (14)
Néstor Sánchez (31)
Nik Kalyani (14)
Peter Donker (54)
Philip Beadle (135)
Philipp Becker (4)
Richard Dumas (22)
Robert J Collins (5)
Roger Selwyn (8)
Ruben Lopez (1)
Ryan Martinez (1)
Sacha Trauwaen (1)
Salar Golestanian (4)
Sanjay Mehrotra (9)
Scott McCulloch (1)
Scott S (11)
Scott Wilkinson (3)
Scott Willhite (97)
Sebastian Leupold (80)
Shaun Walker (237)
Shawn Mehaffie (17)
Stefan Cullmann (12)
Stefan Kamphuis (12)
Steve Fabian (31)
Steven Fisher (1)
Timo Breumelhof (24)
Tony Henrich (3)
Torsten Weggen (2)
Vicenç Masanas (27)
Vincent Nguyen (3)
Vitaly Kozadayev (6)
Will Morgenweck (40)
Will Strohl (165)
William Severance (5)

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2018 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out