connect your sharepoint forms to external sources
TRANSCRIPT
KWizCom Forms
Connect your forms to external data sources
Nimrod GevaProduct Group [email protected]
100% SharePoint-Native Forms & Mobile Solution
External Values
Your SharePoint list form
SharePoint /LOB system /Database
HTTP/S
Web request with dynamic parameters
Returned external value
External values– key features• Field default values
• Dynamic conditions
• Custom actions
• Pass dynamic parameters
• Update external sources
• Cache external values
• S.C repository of external values
Your SharePoint list formSharePoint /LOB system /Database
HTTP/S
Web request with dynamic parameters
Returned external value
This is the Inventory table from which we want to take the remaining
inventory for the selected product
External value = Function with parameters
You can pass current item’s column value by using square brackets []
Click “validate” to make sure parameter types match
Now you can click “OK” to select this external value
DemoUsing an external value in field constraints:Make sure order amount doesn’t exceed existing inventory
When saving the order we want to subtract the ordered quantity from the product’s remaining inventory.
Use the SQL service with an UPDATE SQL sentence
Command=UPDATE Inventory SET AvailableQty=AvailableQty-'[quantity]' WHERE ProductID='[ProductID]'
Create an external value called “UpdateInventory”
We need to set-up 2 field-constraint rules
1
Verify that ordered quantity is less than available inventory
We need to set-up 2 field-constraint rules
2
This is a dummy constraint (will never fail), conditionally run if ordered quantity is less than
inventory.The rule uses the external value
that executes the database update.
DemoUse custom web url:
Load user details from SharePoint profile service by using custom ASP.NET page
We have created an external value that uses a custom ASPX page that
gets a requested property from the profile shervice
Resources• Product web page:
http://www.kwizcom.com/sharepoint-add-ons/sharepoint-list-forms-extensions-feature/overview/
• FREE 30-day evaluation version (SP2007, 2010, 2013):http://www.kwizcom.com/sharepoint-add-ons/sharepoint-list-forms-extensions-feature/download/
• Admin guide:http://catalog.kwizcom.com/sites/pc/Product%20Documentation/KWizCom_SharePoint_List_Forms_Extensions_Feature_Admin_Guide.pdf
• Training videos:http://www.kwizcom.com/sharepoint-add-ons/sharepoint-list-forms-extensions-feature/training-videos/
39