Knack Blog

The Knack team on web applications, online databases, and beautifully designed products.

 

New Feature: Advanced SSO

06/23/2015 Posted by Brandon

We’ve released new features for advanced Single Sign-Ons, or SSO.

Our basic SSO options have been a big success – these allow users to log into Knack apps using other common accounts they already have with Google, Twitter, and Facebook:

We’ve added additional advanced SSO options so you can create additional login options.

Here’s how it works: there are two common login technologies (oAuth and SAML) used for authenticating logins. You can add any custom login that uses one of these two.

For example, you could add logins using SalesForce or LinkedIn with oAuth. SAML enables more enterprise configurations like Shibboleth and Active Directory.

Adding a custom login

To add a custom login you can use the “add a custom SSO provider” link in the Login view’s “Options” tab:

You’ll be guided through configuring the login with the right options. There’s a lot of options to configure so you may need a developer to help get them all correct.

You can also customize the login button with a color and logo. Here’s a customized LinkedIn login button:

Domain Limiting

In addition to adding new login options, both the Google and OpenID SSO providers have an option to enforce domain restrictions. This means that you can provide a domain to restrict authorization to. Only accounts with emails from that domain will be authorized.

For example, by entering “knack.com” with a Google SSO, only Google accounts with an email address using knack.com will be authorized.

Learning more

You can find the full details in our support article on logins:

http://helpdesk.knackhq.com/support/solutions/articles/5000443954-logins-registrations#sso-advanced

We also added a recipe to our cookbook for adding a LinkedIn login:

http://helpdesk.knackhq.com/support/solutions/articles/5000637997-use-a-3rd-party-login-like-linkedin-or-salesforce

Pricing Note: these advanced features are available on Corporate plans and above, or with an add-on to the Pro plan.

Continue reading...

New Template App: Attendance Tracker

06/15/2015 Posted by Brandon

One of the most common app questions we get is if Knack can handle different attendance apps:

  • Schools taking class attendance.
  • Churches managing small group attendance.
  • Corporations taking attendance and roll-calls for trainings and meetings.
Attendance apps sound simple but can quickly get complicated. How are you reporting attendance? Who’s in charge of taking attendance? Are you recording any additional information? Maybe you want to track each member that attended and if they brought any visitors.

Knack shines in building custom attendance applications like this where you need to tailor your attendance around specific needs.

We recently built a new template app to show a few examples of how attendance can work.

Continue reading...

API Upgrades: Working with logged-in users

06/02/2015 Posted by Brandon

We’ve added some new features to our API so that you can now make login requests and work with the logged-in user!

Highlights include:

  • Secure user tokens to authenticate request for Knack users.
  • Utility functions for getting properties of the logged-in user and checking for role permissions.
  • Remote login requests.
This opens up a lot of great possibilities for developers to work with Knack apps:

  • Mobile developers can have mobile users log-in with their Knack credentials.
  • Make page requests with views that are connected to the logged-in user.
  • Permission customization with user roles.
We’ve include an article in our API documentation that goes into more details:

Continue reading...

Yes/No Feature Upgrades

05/11/2015 Posted by Brandon

We’ved added some new input options for a Yes/No field:

You can now choose from the following inputs to display the field in forms:

  • Dropdown
  • Radio Buttons
  • Checkbox

The checkbox display has an additional option for text to display by the checkbox:

This is a great option for adding “agreement” inputs where you want the user to check the box before proceeding. You can use a special text field (from the “special” tab) above the checkbox, and set the Yes/No field to required:

Continue reading...

New Feature: Page Pop-ups

04/21/2015 Posted by Brandon

You can now choose to display specific pages as pop-ups.

This is perfect if you have a table and want to quickly view more details about each record. Instead of viewing those details on a new page and clicking “back” to refresh the table, you can now view them in a pop-up:

To set this feature simply click on the page in your interface and the “Page Options” link in the right column:

And enable in the “Edit Page” window:

Notes:

  • The popup only works on the designated page. Any further links to other pages will return to the main window.
  • The popup will only work if navigated to from another page. The page will still display in the main window if it’s the first page the app loads.
  • This is in beta so let us know if anything is off.
See, not all pop-ups are annoying!

Continue reading...

Report Upgrades

04/14/2015 Posted by Brandon

A major goal for 2014 has been an upgrade to our Reports view.

We originally released reports a few years ago and they’ve been looking dusty for a while now. At the time we were content to use a Google Charts library with some basic functionality.

Since then our wonderful customers have helped us compile a giant list of improvements to make and we’ve found a great new chart library. The first wave of these upgrades is now ready!

Better Chart Rendering

The new chart library means improved chart rendering that animate into place and have clearer graphics and numbers:

You can hover over the plot points for more information and click on any group in the legend to show or hide that group from the chart.

Larger charts will also auto-resize to better accomodate the available data.

Visual Customization

We’ve added multiple features for controlling the size and layout of the charts:

  • Dimensions: let the chart auto-size or enter your own width and height.
  • Legend Placement: place the legend at the right or bottom.
  • Orientation: flip the axes of bar charts.
  • Data Points: show or hide
  • Tilt Data Labels: to save more space

New Data Features

Our biggest new features are around the data the reports use:

  • Filters: you can now use filters to limit the records the chart uses, including filter menus and user-defined filters.
  • Exclude Empty Groups: if any of the report data is empty or zero you can choose to exclude it from the report.
  • Allow Print and Export: include links to print the report or export it as a PDF.
Expand Group Records

The best new feature is the ability to click on any of the report groups to view the records that comprise that group in a modal page:

This page will limit any records to the report group, but you can add and customize your own views like any other Knack page!

What’s next?

Lots:

  • Better sorting and limits.
  • Better mobile resizing.
  • A new chart type!
  • More customization and advanced report chart features.
Take a look at your reports and let us know how the new upgrades look!

Continue reading...

Building online quizzes with Knack

02/27/2015 Posted by Brandon

With our recent form upgrades it’s now possible to create multi-step processes using forms and other views.

With each form you can redirect to a child page that works with the same record. You can continue to create a path to work with the same record using as many forms or other views as you need.

This is perfect for quiz apps where you can ask a single question on one form and then redirect to a child page to show whether the answer was correct or not.

A menu can then link to question 2. You can cycle like this through all of your questions until you eventually hit a “results” page to show a final score.

We built an example quiz to show you how it can work.

https://knackapps.knack.com/quiz

We also added a walk-through with some animated GIFs of how we built it:

http://helpdesk.knackhq.com/support/solutions/articles/5000567220-how-to-build-a-quiz-app

Knack now makes it easy to build simple quizzes like this. Throw in all the extra features Knack provides and you can start to build some very complex multi-step processes.

Continue reading...

Major Upgrade: Form Rules

02/23/2015 Posted by Brandon

Form rules are hands-down one of our most powerful and flexible features: you can define rules to trigger actions like custom emails and record updates when a form is submitted.

Form rules can really expand your app to include work flow features and sophisticated data management.

We recently decided to do a form overhaul to better organize rules and include new features that have been popular requests with our users.

This upgrade is now live! Here’s what’s included:

New Organization

We’ve organized the rules into some new groupings that make more sense:

  • Display Rules: identical to the old “Field Rules”. These rules control how the form is displayed: you can show and hide form inputs and change input labels based on other form and record values.
  • Record Rules: rules that add or update records in your database. For example, you can insert a connected record, or update the form’s record. These were in the old “Submit Rules”.
  • Submit Rules: new! These cover the old form “Options” for what to do when the form is submitted, like show a confirmation message or redirect to another page.
  • Emails: rules for sending custom emails or email alerts. This combines the general alert options and the email options from the old “Submit Rules”.

Submit Rules

Major upgrade! Submit rules include 3 major new features:

Redirect to the parent page

After the form is submitted the user will be redirected to a parent page. Perfect if you’re adding a child record and want to quickly go back to a parent list showing all those record.

Redirect to a new child page

You can now create a new child page to direct the user to. You can add any views you wish to this page and it will automatically work with the form’s record. This means you insert a new record and immediately show other views for that record.

Criteria

You can create different Submit Rules and define criteria for using each rule.

We’ve also tweaked the confirmation message with rich text and the ability to hide the reload link or automatically reload the form.

These features add quite a few new form possibilities:

  • Multiple Paths: create different paths based on different answers. One choice can lead to one page while another leads to a second page.
  • Multi-page Forms: break up a long form into multiple pages.
  • Confirmation Pages: create child pages to show details and connected views.
  • Quizzes: Show multiple questions on different pages and end with a “results” page.

Emails

We’ve also added new features for form emails:

You can add multiple emails rules and choose between sending a simple notification or a custom template

Dynamic Recipients

You can add multiple recipients to a custom email and choose the type, including Reply-to:

Template VariablesWe’ve included 3 variables you can add to your templates:

  • Page URL – include the URL for the current page.
  • Parent Page URL – inlude the URL for the parent page, if a parent page exists.
  • Record ID – the ID of the record
These variables are listed in italics below the list of fields.


Note: please review your current form rules and email tasks to ensure everything was migrated correctly, and get in touch if there appears to be any issues.

Continue reading...

New Feature: Shared Builders

12/17/2014 Posted by Brandon

We recently released a new feature where you can share your apps with other builders.

This means that you can now collaborate on creating and managing your apps with other builders.

These shared builders won’t be able to delete your app or add new apps, and won’t have access to your account details like billing. They will be able to fully edit the app you share with them, including adding, editing, and deleting elements from both the database and interface.

You can share your apps by clicking on the “settings” icon for any app in your dashboard:

You then enter the email of the builder you want to share that app with and they’ll be emailed a link notifying them of this shared access. If they don’t already have a Knack account they’ll have one created for them automatically.

You can view any apps that have been shared with you in the Shared Apps link in your dashboard.

Shared builders are available on our new plans which you can view here:

https://knack.com/pricing

Continue reading...

New Example App: Donations Manager

12/08/2014 Posted by Brandon

When we launched our AppsGiving campaign we decided to include a new example app specifically for non-profits: a donations manager.

Knack has a heart for non-profits so a targeted example app was long overdue!

We hear from many of our non-profit customers that they struggle to find simple solutions that are focused and easy-to-use amidst the glut of software options out there.

Knack is such a great choice because it meets those exact needs. You can focus the features on exactly what you need your software to accomplish.

We designed the donations manager to be a great foundation for simple and focused donor management.

It comes included with these features:

  • Track donations by assigning each donation to the donor and campaign.
  • Calculates total donations, average donation, as well as minimum and maximum donations for each donor and campaign.
  • Easily search and filter to find your donors and donation data.
  • Run reports to view percentage of donations by campaign, donations per month, and much more.

As with every Knack example app you can install the donor manager straight from your dashboard and customize it to fit your exact needs.

Get in touch if you need any assistance building a fantastic donor management app for your non-profit!

Continue reading...