Infopath controls

2,830 views
2,748 views

Published on

Introduction to infopath and inforpath controls and sharepoint integration

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,830
On SlideShare
0
From Embeds
0
Number of Embeds
1,528
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Infopath controls

  1. 1. Melick Rajee Baranasooriyahttp://melick-rajee.blogspot.com/
  2. 2. InfoPath Data Sources• Can be o Submit Data • To a Web service • To a Document Library on a SharePoint site • As an E-mail Message • To a Hosting Environment (XMLFormView Control) o Retrieve Data • SOAP Web Service • REST Web Service • SharePoint Library or List • Database • XML Document
  3. 3. InfoPath Data Sources..• Main Data Source o Holding Values o Query the Main Data Source • Will get blank if empty o Can Promote to SharePoint • Read Only • Read/Write
  4. 4. Myths ..• Main Data source
  5. 5. InfoPath Data Sources..• Secondary Data Source o Temporary Holds Data • Can be load in Form Load (Not Good) • Query as we want o Can use to bind data to controls o Mainly for Retrieve Data • SOAP Web Service • REST Web Service • SharePoint Library or List • Database • XML Document
  6. 6. Rules• Form Load o Set default values o Switch views depends on some values o Query Secondary Data Sources if necessary• Form Submit o Summit Validations o Query data sources before submit• Main Data source o Controls validations o Action rules
  7. 7. Controls n Rules• Simple Validation• Simple Formatting• Simple Action• Change view on load• Calculated Value• Always true rule
  8. 8. Controls n Rules ..• Eval• Load List to Repeating table• Bind Data source to Combo Box• Implement If else o If not run method o Complement condition method
  9. 9. Template Parts• Reusable form segment• Can not have code behind• Can use as a group of controls
  10. 10. User profile services• Query User profile data connection loads current user information• Can connect to AD• Custom AD attributes can retrieve
  11. 11. Thank You Any ?

×