Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Niels Kristiansen 166 posts 382 karma points
    Sep 06, 2010 @ 08:50
    Niels Kristiansen
    0

    import/export in Contour not working completly

    Hi again,

    I have tried to export a contour form, so it can be used for another form. After the export I place the .ucf correctly in the /umbraco/plugins/umbracoContour/templates folder and it actually shows up correctly in Umbraco administration.

    But I don't take all the form fields over in the new form. When I import til the formfields it ends with my radiobuttons "Hvem repræsentere du", but after them I actually have 4-5 formfields extra.

    I have placed the ucf file under this text, but I don't know if the export builder makes a error or is it me who's missing something?

    <?xml version="1.0" encoding="utf-8"?>
    <Form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="UmbracoContour">
    <Name>Førstehjælp beg - 15.09.10 - Hundested</Name>
    <Created>2010-08-18T23:56:24.033</Created>
    <FieldIndicationType>NoIndicator</FieldIndicationType>
    <Indicator>&lt;span style="color: red"&gt;*&lt;/span&gt;</Indicator>
    <ShowValidationSummary>true</ShowValidationSummary>
    <HideFieldValidation>true</HideFieldValidation>
    <RequiredErrorMessage>{0} er påkrævet</RequiredErrorMessage>
    <InvalidErrorMessage>{0} er ikke korrekt</InvalidErrorMessage>
    <MessageOnSubmit>Thank you</MessageOnSubmit>
    <GoToPageOnSubmit>1346</GoToPageOnSubmit>
    <ManualApproval>true</ManualApproval>
    <Archived>false</Archived>
    <StoreRecordsLocally>true</StoreRecordsLocally>
    <DisableDefaultStylesheet>false</DisableDefaultStylesheet>
    <Pages>
    <Page>
    <FieldSets>
    <FieldSet>
    <Fields>
    <Field>
    <PreValues />
    <Caption>Fornavn</Caption>
    <ToolTip />
    <SortOrder>0</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>0</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>c0d6806e-7531-4c2d-bb6f-bf1ceb50d53a</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>true</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>Efternavn</Caption>
    <ToolTip />
    <SortOrder>1</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>0</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>c0d6806e-7531-4c2d-bb6f-bf1ceb50d53a</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>true</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>Tlf. nr.</Caption>
    <ToolTip />
    <SortOrder>2</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>0</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>c0d6806e-7531-4c2d-bb6f-bf1ceb50d53a</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>false</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>E-mail</Caption>
    <ToolTip />
    <SortOrder>3</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>0</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>c0d6806e-7531-4c2d-bb6f-bf1ceb50d53a</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>true</Mandatory>
    <RegEx>\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*</RegEx>
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>CPR-nr.</Caption>
    <ToolTip />
    <SortOrder>4</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>0</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>c0d6806e-7531-4c2d-bb6f-bf1ceb50d53a</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>false</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>Særlig forhold, omk. forplejning</Caption>
    <ToolTip />
    <SortOrder>5</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>0</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>c0d6806e-7531-4c2d-bb6f-bf1ceb50d53a</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>false</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    </Fields>
    <Caption>Personlige informationer</Caption>
    <SortOrder>0</SortOrder>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Page>1d9bd554-58c6-403e-ac04-543f6ac5a351</Page>
    </FieldSet>
    <FieldSet>
    <Fields>
    <Field>
    <PreValues>
    <PreValue>
    <Field>00000000-0000-0000-0000-000000000000</Field>
    <Value>Dig selv</Value>
    <SortOrder>0</SortOrder>
    </PreValue>
    <PreValue>
    <Field>00000000-0000-0000-0000-000000000000</Field>
    <Value>Offentlig virksomhed</Value>
    <SortOrder>1</SortOrder>
    </PreValue>
    <PreValue>
    <Field>00000000-0000-0000-0000-000000000000</Field>
    <Value>Privat virksomhed</Value>
    <SortOrder>2</SortOrder>
    </PreValue>
    </PreValues>
    <Caption>Hvem repræsenter du</Caption>
    <ToolTip />
    <SortOrder>0</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>1</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>d5fd6d53-9151-47f6-b6a1-b94a486ea299</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>903df9b0-a78c-11de-9fc1-db7a56d89593</FieldTypeId>
    <Mandatory>true</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>Firmanavn</Caption>
    <ToolTip />
    <SortOrder>1</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>1</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>d5fd6d53-9151-47f6-b6a1-b94a486ea299</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>false</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>EAN- eller CVR-nr.</Caption>
    <ToolTip />
    <SortOrder>2</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>1</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>d5fd6d53-9151-47f6-b6a1-b94a486ea299</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>false</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>Adresse</Caption>
    <ToolTip />
    <SortOrder>3</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>1</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>d5fd6d53-9151-47f6-b6a1-b94a486ea299</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>true</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>Postnr.</Caption>
    <ToolTip />
    <SortOrder>4</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>1</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>d5fd6d53-9151-47f6-b6a1-b94a486ea299</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>false</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    <Field>
    <PreValues />
    <Caption>By</Caption>
    <ToolTip />
    <SortOrder>5</SortOrder>
    <PageIndex>0</PageIndex>
    <FieldsetIndex>1</FieldsetIndex>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <FieldSet>d5fd6d53-9151-47f6-b6a1-b94a486ea299</FieldSet>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    <FieldTypeId>3f92e01b-29e2-4a30-bf33-9df5580ed52c</FieldTypeId>
    <Mandatory>false</Mandatory>
    <RegEx />
    <RequiredErrorMessage />
    <InvalidErrorMessage />
    <PreValueSourceId>00000000-0000-0000-0000-000000000000</PreValueSourceId>
    <Settings />
    </Field>
    </Fields>
    <Caption>Adresse oplysninger</Caption>
    <SortOrder>1</SortOrder>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Page>1d9bd554-58c6-403e-ac04-543f6ac5a351</Page>
    </FieldSet>
    </FieldSets>
    <Caption />
    <SortOrder>0</SortOrder>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Form>999799a4-de84-43e9-a419-7aab63b0bdf0</Form>
    </Page>
    </Pages>
    <DataSource>00000000-0000-0000-0000-000000000000</DataSource>
    <Id>999799a4-de84-43e9-a419-7aab63b0bdf0</Id>
    </Form>

     

    Kind regards,

    Niels

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 06, 2010 @ 08:56
    Tim Geyssens
    0

    Hi Niels,

    Thanks for reporting this, will test your exported form and will get back with more info.

    Cheers,
    Tim

  • Niels Kristiansen 166 posts 382 karma points
    Sep 06, 2010 @ 09:10
    Niels Kristiansen
    0

    Hi Tim,

    Thanks for the fast reply :)

    /Niels

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 06, 2010 @ 15:45
    Tim Geyssens
    0

    Bug fixed, if you upgrade to the latest work in progress version http://nightly.umbraco.org/Umbraco%20Contour/ (1.1.3 currently) it should work as expected

    (you'll simply need to replace the umbraco.forms.ui.dll if you are running 1.1.2).

    Regards,
    Tim

  • Niels Kristiansen 166 posts 382 karma points
    Sep 11, 2010 @ 23:13
    Niels Kristiansen
    0

    Hi Tim,

    Sorry for the late answer. It just worked as you said. Thanks for the help and the fast feedback with a solution :)

    Have a nice weekend.

    /Niels

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies