Top Banner
KWizCom Forms External values explained for IT & Dev 100% SharePoint-Native Forms & Mobile Solution
53

KWizCom Forms external values for IT & Dev

Jan 24, 2018

Download

Technology

Shai Petel
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: KWizCom Forms external values for IT & Dev

KWizCom Forms

External values explainedfor IT amp Dev

100 SharePoint-Native Forms amp Mobile Solution

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Overview

OVERVIEW

KWizCom Forms what is it all about

KWizCom Forms what is it all about

Enhance your built in SharePoint forms experience without replacing them

Customize layout field validations and permissions form logic and mobile accessibility

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

Helpful context sensitive actions

Form columns are split into tabs

Items nextprev navigation for quick review

Using ldquoResolverdquo action changes the form appearance logic and behavior

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 2: KWizCom Forms external values for IT & Dev

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Overview

OVERVIEW

KWizCom Forms what is it all about

KWizCom Forms what is it all about

Enhance your built in SharePoint forms experience without replacing them

Customize layout field validations and permissions form logic and mobile accessibility

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

Helpful context sensitive actions

Form columns are split into tabs

Items nextprev navigation for quick review

Using ldquoResolverdquo action changes the form appearance logic and behavior

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 3: KWizCom Forms external values for IT & Dev

Overview

OVERVIEW

KWizCom Forms what is it all about

KWizCom Forms what is it all about

Enhance your built in SharePoint forms experience without replacing them

Customize layout field validations and permissions form logic and mobile accessibility

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

Helpful context sensitive actions

Form columns are split into tabs

Items nextprev navigation for quick review

Using ldquoResolverdquo action changes the form appearance logic and behavior

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 4: KWizCom Forms external values for IT & Dev

OVERVIEW

KWizCom Forms what is it all about

KWizCom Forms what is it all about

Enhance your built in SharePoint forms experience without replacing them

Customize layout field validations and permissions form logic and mobile accessibility

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

Helpful context sensitive actions

Form columns are split into tabs

Items nextprev navigation for quick review

Using ldquoResolverdquo action changes the form appearance logic and behavior

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 5: KWizCom Forms external values for IT & Dev

KWizCom Forms what is it all about

Enhance your built in SharePoint forms experience without replacing them

Customize layout field validations and permissions form logic and mobile accessibility

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

Helpful context sensitive actions

Form columns are split into tabs

Items nextprev navigation for quick review

Using ldquoResolverdquo action changes the form appearance logic and behavior

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 6: KWizCom Forms external values for IT & Dev

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

Helpful context sensitive actions

Form columns are split into tabs

Items nextprev navigation for quick review

Using ldquoResolverdquo action changes the form appearance logic and behavior

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 7: KWizCom Forms external values for IT & Dev

Helpful context sensitive actions

Form columns are split into tabs

Items nextprev navigation for quick review

Using ldquoResolverdquo action changes the form appearance logic and behavior

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 8: KWizCom Forms external values for IT & Dev

Using ldquoResolverdquo action changes the form appearance logic and behavior

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 9: KWizCom Forms external values for IT & Dev

OVERVIEW

What are external values

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 10: KWizCom Forms external values for IT & Dev

What are external values

Your SharePoint list form

SharePoint

LOB system

Database

HTTPS

Web request with dynamic parameters

Returned external value

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 11: KWizCom Forms external values for IT & Dev

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 12: KWizCom Forms external values for IT & Dev

What are external values

Web Services

Return scalar value ndash Expected to get a response of a single value text number

or date

ndash In a near future release will support JSON or XML response formats

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 13: KWizCom Forms external values for IT & Dev

What are external values

Web Services

Return scalar value

Get parameters from query string or request body

Can be cached

Accessible to the SP WFE server

ndash Request is made from the SP WFE server not from the client

ndash Services do not need to be exposed for external user

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 14: KWizCom Forms external values for IT & Dev

OVERVIEW

How are external values used inside KWizCom forms

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 15: KWizCom Forms external values for IT & Dev

How are external values used inside KWizCom forms

Configured once in the site collection

User friendly function-syntax when used in KWizCom forms

Picker available throughout KWizCom forms settings

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 16: KWizCom Forms external values for IT & Dev

Send parameters in query string directly in the URL or move longer

parameters to request body

Specify replaceable tokens by surrounding them with [ ] anywhere in the URL query

string or request body

These tokens will be available when using the external values as function parameters

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 17: KWizCom Forms external values for IT & Dev

Set data type expected to make it available for matching

SharePoint field types

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 18: KWizCom Forms external values for IT & Dev

External values picker availability

Conditions

ndash field level permissions

ndash field constraints

ndash custom actions

When applying a rule based on a condition the condition can be compared to an external value

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 19: KWizCom Forms external values for IT & Dev

External values picker availability

Field constraintsfor instance order quantity must be less than current stock available

Dynamic default value

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 20: KWizCom Forms external values for IT & Dev

External values picker availability

Field constraints

Dynamic default valuefor instance get product available stock when product field changes and set the value to lsquocurrent available stockrsquo

Custom actions auto-update fields

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 21: KWizCom Forms external values for IT & Dev

External values picker availability

Field constraints

Dynamic default value

Custom actions auto-update fieldsfor instance when using lsquoescalate issuersquo pull the correct 3rd tier support manager for the selected product and set it in the assigned to That information might be stored in SQL or a SharePoint list

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 22: KWizCom Forms external values for IT & Dev

Update parameters either send in a value using ldquovaluerdquo or map to any

existing column in the current listitem using [column name]

This popup will validate your input that all parameters were provided correctly

before you close it

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 23: KWizCom Forms external values for IT & Dev

Examples

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 24: KWizCom Forms external values for IT & Dev

EXAMPLES

Built in services

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 25: KWizCom Forms external values for IT & Dev

Built in services

Your SharePoint list form

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 26: KWizCom Forms external values for IT & Dev

Built in services ndash Data base

Expected parameters

ndash ConnectionName name of connection string in webconfig

ndash Command Select command

Returns

ndash Returns the value of the first column in the first row using ldquoExecuteScalarrdquo

ndash On error returns ldquoerror[error message]rdquo

Ships with SQL and Oracle support

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 27: KWizCom Forms external values for IT & Dev

Built in services - Excel

Expected parameters

ndash FileUrl excel file URL

ndash Cell the name of the cell to get the value of for example B5

ndash Worksheet optional specify the sheet to look in

Returns

ndash Return the string value of the cell

ndash On error returns ldquoerror[error message]rdquo

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 28: KWizCom Forms external values for IT & Dev

Built in services ndash remote list item

Expected parameters

ndash List list name to search in

ndash Item list item ID to get

ndash Field the column value to return (title or internal name)

Returns

ndash Returns the value of the column for the selected item

ndash On error returns ldquoerror[error message]rdquo

Item parameter expects a number or lookup column value

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 29: KWizCom Forms external values for IT & Dev

Built in services ndash remote list item

Site contextndash The site context is taken from the URL that the service was called from

ndash For example to find a list in this site httpsmyportalcomsitessite1the service request should be made to httpsmyportalcomsitessite1_layouts15KWizComSharePointFoundationExternalValueSPRemoteashxList=[ListName]ampItem=[ItemID]ampField=[FieldName]

Search for list itemndash Instead of sending item ID in lsquoItemrsquo parameter

ndash Find an item by a single column value search using lsquoFindFieldrsquo for the field name and lsquoFindValuersquo for the value to search For example to find the item where lsquoProductSKUrsquo is lsquoKVVMrsquo send ampFindField=ProductSKUampFindValue=KVVM

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 30: KWizCom Forms external values for IT & Dev

EXAMPLES

Ordering system ndash check stock

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 31: KWizCom Forms external values for IT & Dev

Ordering system ndash check stock

Create an order ndash check that there is enough stock

Update stock after order has been accepted

Update stock when order has been rejected

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 32: KWizCom Forms external values for IT & Dev

Form columns are separated into tabs for convenience

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Validation errors clearly indicated when using tabs

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 33: KWizCom Forms external values for IT & Dev

Inventory pulled from SQL on product change

Upon saving the order quantity is being verified

Form columns are separated into collapsible groups for convenience

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 34: KWizCom Forms external values for IT & Dev

EXAMPLES

Task assignment

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 35: KWizCom Forms external values for IT & Dev

Task assignment

Check if person is in office vacation

Pull up project manager

Auto-fill event organizer review manager

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 36: KWizCom Forms external values for IT & Dev

When clicking all user details are loaded

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 37: KWizCom Forms external values for IT & Dev

Building new services

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 38: KWizCom Forms external values for IT & Dev

BUILDING NEW SERVICES

Overview

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 39: KWizCom Forms external values for IT & Dev

Overview

Use ASPNet PHP Nodejs even static textHTML files that are produced from a legacy system

Request url must be accessible by the SP WFE server

Request must return a single value

On error should return lsquoerror [error message]rsquo

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 40: KWizCom Forms external values for IT & Dev

Overview - logging

Recommended to have logging and monitoring on your service

KWizCom forms will report failures to ULS logs or to KWizCom products log but to get more details you should implement your own log

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 41: KWizCom Forms external values for IT & Dev

BUILDING NEW SERVICES

Built in service SQL

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 42: KWizCom Forms external values for IT & Dev

BUILDING NEW SERVICES

Built in service Oracle

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 43: KWizCom Forms external values for IT & Dev

BUILDING NEW SERVICES

Built in service Excel

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 44: KWizCom Forms external values for IT & Dev

BUILDING NEW SERVICES

Built in service Remote list item

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 45: KWizCom Forms external values for IT & Dev

BUILDING NEW SERVICES

Building a new service

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 46: KWizCom Forms external values for IT & Dev

Building a new service

Develop new services for LOB systems

Wrap existing services with a compatible service

that return a single value

Expose services that are not accessible by users

directly (mobile on the internet) in a controlled way

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 47: KWizCom Forms external values for IT & Dev

QUESTION

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom

Page 48: KWizCom Forms external values for IT & Dev

Shai Petel

Director of Research and Development at KWizCom

MCPD MVP SharePoint

shaikwizcomcom | shaibs | httpkwizcomblogspotcom