Copied to clipboard

Flag this post as spam?

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


  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Apr 03, 2012 @ 13:11
    Kalle Ekstrand
    0

    How to get uRecords in XSLT when using #Dictionary

    Hello,

    How do I get records from Contour in XSLT when using dictionary keys?

    <xsl:template match="/">

    <xsl:variable name="records" select="umbraco.contour:GetRecordsFromForm('47196250-7fb2-401a-81bc-08eaf8f1692c')"/>
    <xsl:variable name="totalErrors" select="count($records//uformrecord)"/>

    <p><xsl:value-of select="$totalErrors"/> errors sent in!</p>

    <ol>
    <xsl:for-each select="$records/uformrecord">
    <xsl:sort select=".//fields/#Contour.Error.Date//value"/>
    <li><strong><xsl:value-of select=".//fields/#Contour.Error.CustomerCode//value"/></strong>,&nbsp;<xsl:value-of select=".//fields/#Contour.Error.CustomerCode//value"/>&nbsp;(<xsl:value-of select=".//fields/#Contour.Error.CustomerCode//value"/>)</li>
    </xsl:for-each>
    </ol>

    </xsl:template>

  • Comment author was deleted

    Apr 03, 2012 @ 13:16

    Can you do a copy-of of the records to see the xml you are working with?

  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Apr 03, 2012 @ 13:21
    Kalle Ekstrand
    0

    How do I do that?

  • Comment author was deleted

    Apr 03, 2012 @ 13:23

    after your record

    <xsl:-copy-of select="$records" />

    Then in the output you can see the actual xml

  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Apr 03, 2012 @ 13:24
    Kalle Ekstrand
    0

    Approved2012-04-03T12:59:122012-04-03T12:59:12d6670723-3e27-415d-9441-96deab61e93877.247.159.93107614208fca117b-7f4d-439e-8965-cc2b1512d77c83f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString2000567161806b-7636-4241-bfcc-41b7dbebefc7445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringErgonomipartner AS6f987e1d-daf9-4a74-9c58-5dc610059f281376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringBjørn Lillebeka27549a7-f80d-4a74-a402-789c37c325e9408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneString6386303038a97c33-1100-4cb1-96b4-6c0aabb266e47e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2String6386303010e6bdd2-e427-41c1-8f9f-2e0b660c9117612deca6-952d-4e19-9417-ba8f8acfbcde#Contour.Error.EmailStringstian@backapp.no16bbf126-502f-4b5b-8222-472a6a652fc37e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceStringBudde42d54397-bb74-4178-93a9-77f77d2b45a211683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString2200854057bef-8197-4498-b361-e5e4087c2439d7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescStringFoot plate incl. undercarriage office, high lift77f7a431-a298-4c52-867b-53fbe6faf38c140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescStringLiften er defekt. Den siger. Skal byttes hos: Mark Bric Display AS Stolen er 3 år Jeg har vært hos kunden og testet stolen. Har ikke lagt bed bilde , da det ikke er så lett og vise på et bilde at liften siger. Så det ligger ved et flott påskebilde !125e444e-a93a-40ab-9d6f-801ab50c72713f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString12dbff4d9-07a8-4a18-abc2-0e52aae5ff283c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringSkal byttes hos: Mark Bric Display AS Leveringsadresse: Ergonomipartner AS Stigen (gul lagerbygning) 1940 Bjørkelangen. Merkes : Mark Bric Display ASf593b688-ed11-4022-83a3-9d12721d4c17dbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/95821f67-77ba-44c7-8494-9cf280f2833f/mat_p_ske_761458a.jpg5da98a9d-33b3-4be5-846d-9b389dcabd7a20b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2Stringbfc125f6-481b-4c34-a198-3b70f2d94d92e88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3StringApproved2012-04-03T08:59:402012-04-03T08:59:4006cf120c-52c2-4750-9a22-04692623b56d94.145.69.351076309317e82aa8-13ad-4b20-9f2e-576f1c561a9183f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString2013894c3e4379-27d7-4a3c-86cb-f43207013797445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringErgopartner/novaq0b00af0e-5369-49a3-a75e-e79aa42c77a21376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringLouise Pedersenfd89a4a9-4d2a-437c-9d27-475c28dcc7b7408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneString566501456b40236a-6b62-4e6d-aedc-459cb50632427e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2String566501458214ce0e-5990-4a41-9e74-35daf712ff0c612deca6-952d-4e19-9417-ba8f8acfbcde#[email protected], gitte@backapp.dk03316eb3-1e4c-464e-9691-f796626d7d747e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceStringrekv 2044218c82dc-f0c0-4e11-93a6-6184739e657711683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString220073992aadf-0d04-4db0-8b1d-8e2ff4a3b0f9d7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescStringFodpalde +skruercb9d5bd7-9468-40fa-b2c0-665ba526e133140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescStringSkum ring gået op i limning007db514-941d-41c6-8af0-28877866fcaf3f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString109627972-e6ac-4b24-aaf8-4769d093b5813c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringsend new parts4d28f61f-be17-4cf9-aabd-32b94dbdca21dbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/55f6114a-5ee4-407c-a018-52ffc48969be/foto_25__2.jpgbc83a437-62b9-42d9-85f8-86fb09a3d19c20b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2String487c5978-6429-4e98-b518-c0a57f005f7ce88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3StringApproved2012-03-30T14:12:492012-03-30T14:12:49783fe2b5-ba53-4de1-b58f-c5331fd8495577.247.159.931076142072ac51b7-af96-4548-829f-5f1c7d30eb3083f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString2010659da7dd6f-f8db-4206-a73e-4352de2d7590445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringEFG HOV+DOKKA ASd79dae9a-a25c-448d-9611-ec242e4b904a1376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringKristian Lysebråted012b7b1-fa01-423c-977e-32a0a3b77196408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneString99 79 89 09eb0410ca-029b-4578-98aa-560df3e67f8d7e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2String99 79 89 09a46efbd5-bc22-495e-87f3-24fc8ca6804c612deca6-952d-4e19-9417-ba8f8acfbcde#Contour.Error.EmailStringKristian.Lysebrate@efg.no500a1045-f9cc-4bf1-9e5f-dd74ef9f0b7c7e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceStringDNB v/ Per Østmoe87dc88af-d669-4368-baf8-e125dab5d78611683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString220154a34dd16-463c-48d8-b19d-2ccca9ca0ecad7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescStringComplete undercarriage mobil, high lift and seat removal tool3bd1d5ec-c73d-4442-afd5-8e57af599e53140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescStringDefekt understell. Plastbane for stålring i understell sprekker opp på innside av understell.818bfa65-fd28-4606-8928-95f837281b483f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString114f76154-5eca-4248-a417-3b9a5fed67fb3c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringMå sendes direkte til kunde !!: DNB v/ Per Østmoe Kongensgate 20 0021Oslo. Denne order haster !!!!!! Den ble sendt i det forrige systemet . Ordre 22506. Men den ble sendt til Kinnarps, Bodø. Hvordan dette kunne skje vet ikke jeg ???? Men det passet jo bra siden Kinnarps Bodø hadde en samme reklamasjon, slik at de kunne bruke delen. Derfor haster det at vi sender denne til DNB. De har ventet lenge nå.b9a45b59-0c16-456d-9281-dfca3cba708fdbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/e43bd5ab-e2d1-4369-9f00-20e59b2b6d8a/DNB_Feil.jpg50fac7a3-d148-491a-aa65-f45db147c01c20b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/7904798a-58d2-49d5-b628-8ed464c382b9/DNB_Feil_2.jpg0535f324-ac49-4d08-872a-0368e6cc8ba3e88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3StringApproved2012-03-29T22:47:102012-03-29T22:47:10dd4d8522-e976-47c8-b52a-2449fa24ea3877.247.159.9310761420deb3d280-762a-45da-ab31-d219cee6c37683f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString200669cbb1bf3b-990b-4ae8-b55f-3f856ae3382e445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringNorengros Gustav Pedersen as9c5b6542-ecbc-4bc3-9115-3f5728a8ec301376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringPreben Vigsø5cfd2eee-ecc5-4638-a850-de33cc53d17d408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneString98 25 62 07c10fe391-2917-4570-b064-f2122d3223c97e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2String98 25 62 075f758e53-36cc-48dd-a940-838410e1580f612deca6-952d-4e19-9417-ba8f8acfbcde#Contour.Error.EmailStringgp.mobel.lager@norengros.com07a9312b-f02e-45e9-b9a3-be121b0454fa7e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceStringPreben Vigsø / Reklamasjon4a4261b4-6df3-4c89-aea6-7daaee3eeab211683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString2200895ff4b6d-1987-4d01-9cc4-4e76c21b789fd7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescStringKomplett underställ office Høy lifta1ba5f07-9b91-4979-85ef-d7bd7a143d15140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescStringLiften er defekt. Den går opp og ned. Går ikke an og justere lenger Lekkasje ??2b283c72-17c6-45c3-842f-499afabaf55b3f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString1dae4e094-552c-4dea-a745-41f047cbdc043c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringSende et nytt komplett understell office m/ høy lift til : Norengros Gustav Pedersen as Magnus Barfotvei 3 v / Preben Vigsø 4636 Kristiansand271ce824-42a6-433b-bfd9-87e37f025186dbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/8a104736-ad38-4b85-b785-72e03ee94dd4/Tekst.jpg17d5cc76-bc7b-4de4-a993-f2ae791c4e3b20b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2Stringe17dd513-c0e0-4614-a72a-d3f9ddb5c366e88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3StringApproved2012-03-29T22:12:022012-03-29T22:12:027a8557d4-c732-46e0-b143-64e6355852df77.247.159.9310761420f7dbd060-213e-4b35-8769-53b7c602a9d383f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString200504865807a4-7683-48d3-8190-279f56ca3291445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringKontorleverandøren Hamar ase1da0268-8da9-4651-94c7-95ff0809127f1376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringTerje Bessesen2e44d561-6109-4b85-a7f4-2e4806f59132408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneString62 55 05 404a318d95-c2a7-4b3b-8866-bfbeb9b5492e7e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2String90 75 03 431ce2523b-b86c-477c-a9e5-93c923c43d2a612deca6-952d-4e19-9417-ba8f8acfbcde#Contour.Error.EmailStringterje@kontorleverandoren.no6e088b74-cfc8-4a1a-b60d-0d5b883e6be27e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceStringTerje Bessesend88485c6-82b4-478d-aa3d-9533d1d164bb11683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString220071d83e8bb-8712-4785-83fc-a44e76907722d7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescStringFotplatta inkl.skruvar& skruvmejsel1055dd96-b2c9-464b-9436-58ef9ee8ba95140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescStringFotring har løsnet . Skruene falt ut. Må bytte fotring. Seienummer 723-3c513c629-fe09-41a0-a814-e40811d562d73f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString11477dfaa-0d67-4bfe-86b5-9c58029e85893c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringSendes til : Kontorleverandøren Hamar as Furnesveien 81 2318 HAMAR060273b8-66fd-4d4a-9509-3dd8d6ae6644dbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/fe520603-3688-4aef-aa9e-bd36c4b4496b/Reklamasjon_bilde_290312.jpg509b0b7e-cedd-4eaa-b2b7-bd63542a580420b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2Stringff0f6388-bb20-4e11-bb2b-9e102d3e7a60e88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3StringApproved2012-03-29T21:51:362012-03-29T21:51:36e167cb94-55bb-47d2-9533-0a92878271e777.247.159.9310761420a1038219-104c-49e1-8048-93de588b007c83f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString2000359d751dc2-ee23-42c4-8104-f500d18f1c40445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringErgonomikonsulentene AS82e8f822-0291-49d8-9a3b-7d531edbd2801376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringThomas Johansen0e9800a9-bfeb-464b-af71-1304b943efb0408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneString922499401285ee7e-ea67-4f6a-b609-b5ff487cdcba7e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2String922499405cf4dc91-b658-4b98-92d8-8bccf4c31a19612deca6-952d-4e19-9417-ba8f8acfbcde#Contour.Error.EmailStringthomas@ergonomikonsulentene.no1f3ea30d-8486-486c-9467-b059ac52b06c7e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceStringBeathe Wold, 926 93 51985498004-01d2-46de-a654-91690466864111683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString2200856cca4d1-fb2c-46ba-80be-0fd5f6687d67d7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescStringKomplett understell Office Høy liftcca0ee91-4a13-46b0-a7ef-090ee55fac09140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescStringLiften er defekt. Se bilde som vedlegg Send bekreftelse til meg slik at jeg vet at denne blir sendt . stian@backapp.noe7390cc9-5f01-4b72-8ebc-4cb74ff4fd493f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString1ce6dd61d-0331-490e-9b68-9f3a018fa6973c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringMå sendes direkte til kunden: Finansforbundet v/Beathe Wold Dronning Eufemiasgate 16, 8 etg., 0191 Oslo Telf v / lev 926 93 519183f6db2-7fed-4141-adbd-fe45ed3870eddbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/f7360e84-2530-4b54-bbb1-8407cb69c537/Finanstforbundet_bilde.jpga992b796-de35-4135-941a-5586c6d36f9320b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2Stringf2accad6-5233-47e2-90f6-c581b1489ef0e88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3StringApproved2012-03-29T14:04:322012-03-29T14:04:321b83acef-9343-4fb5-afe7-0d8871f2b2ab77.247.159.931076142056605a3b-9db2-4b7c-9ab3-a1bbc45a23c483f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString200267a318da50-f358-485a-a4c1-80504fb3b5f2445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringKinnarps AS41dc665a-766a-44f4-8392-f622f9daa9601376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringTurid Oskarsenc0999ae9-f8f2-4d34-940d-683169ae632c408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneString93 06 05 78c5368da9-ceb3-48f9-b435-a7dad25cd3f47e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2String93 06 05 78d68ef633-2604-478d-9446-75f3db02106a612deca6-952d-4e19-9417-ba8f8acfbcde#Contour.Error.EmailStringturid.oskarsen@kinnarps.no77525a0f-b9ea-460b-8e18-72b1ff9df8867e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceString7342345 / 70802719ac3b964-3eee-44fb-bde9-bf9ca48b740c11683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString22004d649e764-5354-40fb-92b0-d5d41d8ae607d7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescStringSkai sete sort komplett4494f578-6eeb-47a8-993d-9291d2cb0d08140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescStringSkai setet har revnet i sømmen bak. Må byttes25b96097-6af1-4908-9623-b1406851820f3f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString14f755904-cc56-43f9-a7f2-1fd7db62038f3c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringMå byttes. Sende nytt skai sete til : Kinnarps AS Solgård skog 110 1599 Moss. Må merkes med : 7342345 / 70802718acca0a6-00b6-427c-b4f0-884ffe2a1656dbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/0f49929c-d0b6-4f3c-98db-52cf93d52dc5/Bilde_reklamasjon_Bildet_er_sendt_pr_e-post.jpgf3c3789f-2558-4b0b-8e8f-0bae057d10d920b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2Stringde50357c-2208-4bdb-b2c8-578b9fdc5bf4e88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3StringApproved2012-03-29T13:55:592012-03-29T13:55:591894488a-c716-4f25-97be-372decb0948f77.247.159.9310761420ffe65092-ab6d-4dea-8c8e-45cbe7dddc3083f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString20026700f7bd50-30f4-4768-b612-430641722ebf445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringKinnarps AS60a1ae7b-b4c4-4dc2-a8ad-e613ed885b701376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringTurid Oskarsenfa56d6da-b25d-4e58-99f7-a1be008ffd4c408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneString93 06 05 784cf94cdb-03fa-4695-9369-00fff641976e7e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2String93 06 05 7815c3e12a-f48d-49be-bb9c-2958596f3f90612deca6-952d-4e19-9417-ba8f8acfbcde#Contour.Error.EmailStringturid.oskarsen@kinnarps.no9cf1506d-f8a9-40f3-b365-f98d530837c87e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceString7341698/7071830ee0643d7-a2ad-4e9a-ad39-7d20e667ebc011683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString22015914e79e8-32ba-40fc-868c-57e0573ea5d3d7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescStringUnderställ Mobil med hög lift3365ccee-3613-482c-9464-41410f45f3a1140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescStringUnderstellet på den mobile stolen har gått fra hverandre. Kunden trenger et komplett nytt understell i mobil. Denne stolen er fra Ordrenummer : 21302. Produktsjonsdato er 23.05.2011. Jeg har sendt bildet til Mikael 3 Mars, men da virket ikke bestillingen.3a102b07-7718-4f6e-91f8-7781fcbb03333f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString103554386-d738-4fe9-a2c0-ca8b80ba8f7b3c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringSende nytt komplett undertell i mobil til: Kinnarps AS Solgård skog 110 1599 Moss. MÅ MERKES MED : 7341698/70718305ebacfb3-63f1-4e76-b508-afcef1e4f509dbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/6a8a7268-1e24-4a29-9687-5951ae3c3e88/Reklamasjon_Kinnarps_29.03.2012.pdf8afbee6b-2734-429b-be31-aca306ee57f620b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2String97385a52-7a53-4610-acfe-d5c2a9d60024e88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3StringApproved2012-03-29T12:10:472012-03-29T12:10:47eaf2d732-6961-415a-a8ce-0fe7f69316ed79.136.7.17110761423f98fc9f8-0bac-4971-ba01-c1e60d49e1b483f94bbf-be38-46b7-b060-2fdd3bdb924c#Contour.Error.CustomerCodeString4334d8144fd2-5962-4ec1-a504-f0b02e564664445e3b25-4681-4719-a96b-bdb56594a4c1#Contour.Error.CompanyStringToxic9de3c3e6-6bf5-4e81-90d3-ddf39a081f4b1376eaca-f64b-4f96-b4a1-e5dd2606df19#Contour.Error.ContactStringKallefa03416a-fc40-4409-b415-e41a622b8abe408b9ecc-7ac7-4f68-b970-6dbf2b2ae70b#Contour.Error.PhoneStringfdgfdgd40f2c6e-c33f-4259-836b-5b101c1918ce7e2030fd-01ec-4e5d-980f-eca9caf3e29c#Contour.Error.Phone2Stringdfgdsfgd8417a6d-1511-49df-880f-bf6a2ae89d19612deca6-952d-4e19-9417-ba8f8acfbcde#Contour.Error.EmailStringkalle@toxic.sec386446b-7885-4510-b864-ceaa3c0c14f37e8d752f-072a-4e16-9245-5dd8363bfbe1#Contour.Error.ReferenceStringfdsgfdg23690fc6-4ed4-4cb8-94ba-264c8c5b94f611683ec4-ddad-4216-b6ac-d16a2856e6f9#Contour.Error.ArticleNoString435435ea64f06f-e10d-42ae-8e75-b42a76f7d2f4d7c16fb8-2477-43fa-aaf0-8ddf86982e74#Contour.Error.ArticleDescString43545481047a6-5cee-488c-b0e7-8d0c0e98063a140198e1-d8d8-4a93-9a9f-92a888740773#Contour.Error.ProblemDescString345345b2864ff5-b401-4a7f-8dd6-dbe9fb8afeb43f6c203b-cebd-4fa8-b618-31b63ed5d8aa#Contour.Error.ItemsString1cfbfcf85-e3f0-42af-93d3-3d6348e652073c910b3a-27f7-4ee5-b733-69ce7392b954#Contour.Error.MessageStringfdgdsfg77631a0e-2635-4a42-a71b-39b4ca368413dbdd3129-2161-4d66-bb00-f442ddc09ef8#Contour.Error.Attachment1String/umbraco/plugins/umbracoContour/files/47196250-7fb2-401a-81bc-08eaf8f1692c/6317a49e-a4cf-401d-8cec-f1ca4a479a6f/Hamilton.stormare.jpg13c35987-1390-465f-b328-f848e44c619f20b6a9f0-5ce0-48aa-8749-061ca8551633#Contour.Error.Attachment2String325f9613-ab81-47c5-b7ab-ef1956157e61e88dba7f-e554-4442-847f-83ab6909912a#Contour.Error.Attachment3String

  • Comment author was deleted

    Apr 03, 2012 @ 13:28

    Ok so looks like the # is included, you does your xslt output anything?

  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Apr 03, 2012 @ 13:38
    Kalle Ekstrand
    0

    When I use # it just returns XSLT error.

  • Comment author was deleted

    Apr 03, 2012 @ 14:14

    Could you try:

    Going from 

    .//fields/#Contour.Error.Date//value

    to

    .//fields[contains(name(),'Contour.Error.Date')]//value

    (on al places you have the /#

  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Apr 03, 2012 @ 14:20
    Kalle Ekstrand
    0

    returns null

    <xsl:template match="/">
      
    <xsl:variable name="records" select="umbraco.contour:GetRecordsFromForm('47196250-7fb2-401a-81bc-08eaf8f1692c')"/> 
    <xsl:variable name="totalErrors" select="count($records//uformrecord)"/>

    <p><xsl:value-of select="$totalErrors"/> errors sent in!</p>  
    <!--<xsl:copy-of select="$records" />-->
    <ol>
      <xsl:for-each select="$records/uformrecord">
        <xsl:sort select=".//fields/Created//value"/>
        <li><strong><xsl:value-of select=".//fields[contains(name(),'Contour.Error.CustomerCode')]//value"/></strong>,&nbsp;<xsl:value-of select=".//fields[contains(name(),'Contour.Error.ArticleDesc')]//value"/>&nbsp;(<xsl:value-of select=".//fields[contains(name(),'Contour.Error.ArticleCode')]//value"/>)</li>
      </xsl:for-each>
      </ol>

    </xsl:template>

  • Comment author was deleted

    Apr 03, 2012 @ 14:31

    Oops should have been

    .//fields/*[contains(name(),'Contour.Error.Date')]//value

    (so add an /* after fields)

  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Apr 03, 2012 @ 14:38
    Kalle Ekstrand
    0

    Sorry, but same output.

      <xsl:for-each select="$records/uformrecord">
        <xsl:sort select=".//fields/Created//value"/>
        <li><strong><xsl:value-of select=".//fields/*[contains(name(),'Contour.Error.CustomerCode')]//value"/></strong>,&nbsp;<xsl:value-of select=".//fields/*[contains(name(),'Contour.Error.CustomerCode')]//value"/>&nbsp;(<xsl:value-of select=".//fields/*[contains(name(),'Contour.Error.CustomerCode')]//value"/>)</li>
      </xsl:for-each>

     

  • Comment author was deleted

    Apr 03, 2012 @ 14:53

    Ok i'll do a little test and come back to you with a solution

  • Comment author was deleted

    Apr 03, 2012 @ 15:50

    Ok found it so instead of #Contour.Error.CustomerCode do contourerrorcustomercode (so all lowercase and without the # and .)

  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Apr 03, 2012 @ 16:09
    Kalle Ekstrand
    0

    BTW, how do I get the records for IP, Create date etc?

  • Comment author was deleted

    Apr 03, 2012 @ 16:12

    If you check the dev docs you can see an example of the xml structure think some are stored as attributes others as child nodes

Please Sign in or register to post replies

Write your reply to:

Draft