Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

InfoPath with Microsoft Content Management Server Web Services : Creating the Controls in InfoPath

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
10/23/2012 4:49:33 PM
By generating the document from an XML Web service, InfoPath allows us to create a functional user interface in a matter of minutes as opposed to hours or days in other environments. To allow the user to enter the path of a posting and query the Web service, follow these steps:

1.
In the task pane, select the Data Source category.

2.
Expand myFields, queryFields, and s0:GetPosting.

3.
Drag the strPath element into the area on the form labeled Drag query fields here.

4.
Change the label strPath to Posting To Load (e.g. /Channels/www.TropicalGreen.net/PlantCatalog/AloeVera).

5.
Drag the Run Query button into the space below the strPath textbox, and remove the extra line breaks where the Run Query button previously was.

6.
Select the bottom border of the layout table and drag it up to reduce the height of the table.


Our form now allows a user to enter the path of a posting, which is passed to the ASP.NET Web service, which returns a serialized LightweightPosting object.

Let’s create the user interface that displays the posting’s properties and allows them to be edited.

1.
In the Data Source pane, expand dataFields and s0:GetPostingResponse.

2.
Drag the GetPostingResult node on top of the Drag data fields here label.

3.
A context menu will appear listing actions that can be performed. For this node, we will create the section with controls, so click Section with Controls.

4.
The following form has now been generated. Don’t worry about the layout for now, we’ll make it friendlier to use in the next section.


Other -----------------
- Installing Exchange Server 2010 : Post-setup configuration (part 2) - Add a certificate to the Client Access Server role
- Installing Exchange Server 2010 : Post-setup configuration (part 1) - Configure a Send Connector to the Internet
- Installing Exchange Server 2010 : Installing the Edge Transport Server
- BizTalk Server 2009 Operations : Scalability and High Availability
- BizTalk Server 2009 Operations : Configuration and Management
- Windows Server 2003 on HP ProLiant Servers : Migration Methodologies (part 2) - Restructure
- Windows Server 2003 on HP ProLiant Servers : Migration Methodologies (part 1) - ProLiant Migration
- Windows Server 2003 on HP ProLiant Servers : Windows Server 2003 Functional Levels
- Sharepoint 2010 : Aggregating External Data Sources - Understanding the BCS Security Options
- Sharepoint 2010 : Aggregating External Data Sources - Using the Business Data Connectivity Service Application and Model
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server