GOSS iCM 10.0.0.0 - Forms Gary Ratcliffe. 2 Agenda Webinar Programme Form Groups Publish Multiple...

Preview:

Citation preview

GOSS iCM 10.0.0.0 - Forms

Gary Ratcliffe

2

Agenda

• Webinar Programme• Form Groups• Publish Multiple• Visual Script Editor• Scripted Actions• Form Examples

3

Webinar Programme

• User

– 1st October – What’s New in iCM V10

– 2nd October – Article Editing, Media Upload, etc

– 3rd October – Preferences, Help Text, Shortcuts

• Technical

– 9th October – iCM V10 Overview

– 16th October – Forms

– 6th November – API Server

• Workshops

– We are considering running a forms workshop, probably in London

4

Form Groups

• Blueprint, Snippets and Public and Private groups created during upgrade

• Group can containing any type of form including Blueprints and Snippets

• Forms can be moved between groups

• Form Name restrictions– All form names must be unique– Except:

• A public and private form where one uses an external type• Eg. USERPROFILE where there are public and private version

5

Forms Designer - Groups

DEMO

6

V10 Publish Multiple

• Publishes all forms in a group

• Requires an additional privilege

7

V10 Publish Multiple

8

Visual Script Editor

• Quick way of ‘building’ script functions

• Based on idea of plugging blocks together– Lego– Jigsaws

• Actually generates JavaScript– Almost always easier to start with than writing JavaScript

• Can switch to the full JavaScript editor– This is one way

9

Visual Script Editor - Accessing

Visual Script Editor

JavaScript Editor

10

Visual Script Editor - Interface

Available Blocks

Drag here to delete blocks

Preview JavaScript

11

Visual Script Editor

Function Block

Block connector

Connector for a value

12

Visual Script Editor – Selecting Block

Drag block

13

Visual Script Editor – Adding Block

Connect it here

14

Visual Script Editor – Selecting Field

Click to select field to hide

15

Visual Script Editor – IF block

Condition plugs in here

Action plugs in here

Click ‘+’ to add else

16

Visual Script Editor – Extending IF Block

Drag else and elseif here to add

17

Visual Script Editor – Extending IF Block

Click ‘+’ again to close

18

Visual Script Editor – Complete IF Block

19

Visual Script Editor - Hints

• Right mouse button on a block

– Duplicate

– Add comment

– Inline/External Inputs

• Changes block display only

– Collapse

– Disable

– Delete

• Alternative to dragging

– Help

• Tooltips

• You can drag blocks ‘outside’ a function to temporarily disable

20

Visual Script Editor

DEMO

21

Java Script Editor

• Syntax Highlighting

• Syntax Checking

• Find

22

Java Script Editor

23

Java Script Editor

Syntax error (missing bracket) indicated when trying to save this code..

24

Java Script Editor

This comment is the last Visual Script Editor state. Delete if you are sure you never want to go back to edtting this code visually.

25

• Allows actions to be implemented in JavaScript

– Executed server-side

– Requires JavaScript skills

• Wide range of functions available

– Send EMail

– HTTP requests

– File access

– API Server

• API Server is most useful

– Access iCM API

– Low level database access coming in 1st update

• Use of API Server covered in webinar on 6th November

Scripted Actions

26

Scripted Actions

DEMO

Questions?