...
Note |
---|
|
Example 4 – using link parameters and multiple files
Code Block |
---|
<ns:form xmlns:ns="http://www.frevvo.com/schemas/_lvxDAF_vEd2bxNL8keLevQ"
name="FormTypeAtomTest">
<A>TestA</A>
<B>TestB</B>
<C>2013-06-30</C>
</ns:form>
<p0:form xmlns:p0="http://www.frevvo.com/schemas/_RErWMNR6EeKYJfUGgkkEjg">
<Section518>
<Name>test1</Name>
</Section518>
</p0:form>
FileStream customerDataXml = new FileStream(file1_path,FileMode.Open);
FileStream signText = new FileStream(file2_path, FileMode.Open);
FormsService service = ...;
NameValueCollection nvc = new NameValueCollection();
nvc.Add("_formTz", "Asia/Kolkata");
string id = "_LIAtYHC3EeKVINiYeE5iPA!_qrSmgInoEeKOdqjLR19yFQ!test2";
FormTypeEntry formType =
service.GetFormType(id);
FormEntry formEntry = formTypeEntry.CreateFormEntry(nvc,
new MediaFileSource(customerDataXml, "customer",
"application/xml"),
new MediaFileSource(signText, "form", "application/xml"));
customerDataXml.Dispose();
signText.Dispose(); |
Â
How do I edit a form control?
...