Util CreateFormInstance Method frevvo Live Forms
Create a form instance.

Namespace: Frevvo.Forms.Client
Assembly: Frevvo.Forms.Client (in Frevvo.Forms.Client.dll) Version: 7.2.1.0 (7.2.1)
Syntax

public static Uri CreateFormInstance(
	FormsService service,
	AtomLink atomLink,
	NameValueCollection linkParams = null,
	Stream docStream = null,
	string paramName = null,
	string contentType = null,
	bool embed = false,
	params MediaSource[] sources
)

Parameters

service
Type: Frevvo.Forms.Client FormsService
The forms service
atomLink
Type: AtomLink
The link to the form type
linkParams (Optional)
Type: OnlineSystem.Collections.Specialized NameValueCollection
Optional params to init the form
docStream (Optional)
Type: OnlineSystem.IO Stream
Optional XML doc to init the form
paramName (Optional)
Type: OnlineSystem String
Optional name for XML document param name in post (defaults to 'form')
contentType (Optional)
Type: OnlineSystem String
Optional content type for XML document in post (defaults to text/xml)
embed (Optional)
Type: OnlineSystem Boolean
When true, the embed instance Uri is being requested
sources
Type:  MediaSource 
Optional list of MediaSource objects to be uploaded during instance creation

Return Value

Type: OnlineUri
A Uri to the form instance
See Also