Documentation

Documentation

  • Documentation
  • Externable.com

›Dynamics Forms

Introduction

  • Introduction to Externable

Setup

  • Registration
  • Creating Subscription
  • Renaming subscription
  • Setup URL
  • Connecting Dynamics
  • Setting up email
  • Provisioning instance
  • Starting and stopping instance
  • Connecting Custom Domain
  • Upgrading
  • Taking Backups
  • Restoring Backups
  • Resetting Instance
  • Changing Billing Address
  • Changing Subscription Plan

Portal Backoffice Basics

  • Login To Backoffice
  • Navigation In Backoffice
  • Adding & Managing Users

Creating Content

  • Creating, Saving and Publishing Content
  • Scheduling Posts
  • Content Versioning
  • Creating Content Templates
  • Restricting Access To Content
  • Creating Media
  • Sensitive Data
  • RichText Editor
  • Content Tree

Dynamics Integration

  • Default Template
  • Presenting Dynamics Data

    • Creating Dynamics Integrated Content
    • Extracting Dynamics Query

    Dynamics Forms

    • How Forms Work
    • Working with Formulas
    • Example - Create a Form

Languages

  • Enabling Languages
  • Creating Translations

Members

  • Creating Members In The Frontend
  • Creating Members in the Backend
  • Linking Members To Dynamics Contacts

Portal extension

  • Document Types
  • Data Types
  • Property Editors
  • Grid Editors
  • Macros
  • Relation Types
  • LogViewer
  • Templates

    • Templates
    • Razor Syntax
    • Rendering Content
    • Rendering Media
    • Rendering CSS & JS
    • Partial Views
    • Partial Macro Views
  • CSS customizations
  • JavaScript
  • Plugins Development

    • Plugins Development
    • MVC Controllers
    • WebAPI Controllers

Notes

  • Open Source Used

Example - Create a Form

You can add as many forms as you like to every single Content Node. Your form can be prepopulated with Dynamics data and can map to Dynamics records.

In this article we will create a sample form, which will be capturing end user request for receiving product sample and create new Opportunity in Dynamics.

We will start with creating new content like we did in the previous example but call it 'Request for Sample' this time.

We will not create any Dynamics queries, because our form will not require any data to be prefilled.

  1. To start creating a form, scroll to Dynamics Forms section and click 'Add Content':

  1. Give your new form a name - 'RequestForSampleForm' and click Save:

  2. Let's add the following fields to the form

  • header saying 'Request for free sample'
  • radio group to select one of 3 sample products (plastic case, wooden case, metal case)
  • number field estimated budget
  • radio group to select Purchase Process (Individual/Comittee) (with values of each option matching Dynamics optionset values)
  1. Go to submission settings and set:
  • Target Type to Entity
  • Target Entity to Opportunity
  • Leave Upload File Attachments unticked as we don't intend to submit any files in this form
  • Redirect To field to Home, so that after form submission user got redirected to main page. You can create custom Content Node with thank you message and redirect to it in real scenario
  1. Go to Submission Mappings and add mappings as per below:

Functions can be composed with function editor (see more details in previous article):

  1. Scroll down to the content editor and add new single column row. Select 'Dynamics Form' type of content: In the dropdown select the name of your form - this allows you to position form you created, in the grid layout.

  2. Save and publish - when you refresh the front page you will see that filling in the form creates new opportunity in your linked Dynamics instance

Note that your Dynamics instance may have some additional logic on top of Opportunity entity like required fields or sychronous plugins, which may require you to pass more or different data in mappings. This example was created against vanilla Dynamics instance with Sales solutions installed.

Video

See the video how that has been configured:

← Working with FormulasEnabling Languages →
  • Video
Copyright © 2021