Copied to clipboard

Flag this post as spam?

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


  • Andrew Bright 84 posts 244 karma points
    Oct 12, 2018 @ 12:32
    Andrew Bright
    0

    Map multiple values to one Umbraco field

    I was wondering if it was possible to map two values from the import to one Umbraco field for example:

    I have a property import which consists of PropertyID and DisplayAddress currently I am mapping DisplayAddress to the Umbraco field Name so this is easily Identifiable in the CMS. However there is a rare circumstance where properties would a similar display address value causing node Urls to become conflicted.

    Whilst the easy option would be to map PropertyID to Name instead as this is the PK it makes it harder in the CMS to identify a property therefore would it be possible to map both PropertyId and display address to Name for example:

    Name: 101372001803 - Horsegate Gardens, Chatteris, PE16 6NH

    Making each record unique, easily to identify and stop url conflicts.

    Thanks

    Andrew

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 15, 2018 @ 06:51
    Richard Soeteman
    0

    Hi Andrew,

    Currently this is only possible using the RecordImport events. So you need a bit of code to do that. Check the manual https://soetemansoftware.nl/cmsimport/downloads for a sample/

    Hope this helps,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft