Copied to clipboard

Flag this post as spam?

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


  • Gary 4 posts 24 karma points
    Aug 05, 2010 @ 17:40
    Gary
    0

    Importing members with a content picker property

    I am trying to use cmsimport to import a list of members from a sql table.

    I have a member type which contains a property with a content picker so that we can map a member against a site profile.

    When i run the import, I select the member option, point it at my data source and enter the query.

    On the next step i can select my member type and other preferences.

    When i get to the next step i get the generic member properties which i expected to see, but rather than seeing a box for the content picker property value, i get a list of the list all of the properties from the template that this content picker is picking from.

    Am i doing something wrong, or is this a bug?

  • Gary 4 posts 24 karma points
    Aug 05, 2010 @ 17:45
    Gary
    0

    Just a quick update on this, we are using ultimate picker instead of content picker for the site profiles....

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 05, 2010 @ 20:34
    Richard Soeteman
    0

    This is weird,

    So you see all the properties of the content item instead of all the member properties?

    Which version of Umbraco and CmsImport are you using?

    Thanks,

    Richard

  • Gary 4 posts 24 karma points
    Aug 06, 2010 @ 11:08
    Gary
    0

    Richard,

    Yes I have tested an import on a seperate database and it adds these properties into the members even though the template only contains the picker property

    It's umbraco version 4.0.4.1 and CMSImport 1.0

    Cheers,

    Gary

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 09, 2010 @ 08:28
    Richard Soeteman
    0

    Hi Gary,

    Can you please add a few screenshots of the membertype and teh doctype that is going wrong in your case and the mapping screen of CMSImport? Or mail me those richard [at] soetemansoftware.nl

    Thanks,

    Richard

  • Gary 4 posts 24 karma points
    Aug 09, 2010 @ 11:08
    Gary
    0

    Hi Richard,

    I have just emailed you screenshots

    Cheers

    Gary

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 09, 2010 @ 12:52
    Richard Soeteman
    0

    Okay we know what cause the issue. The MemberType and the DocumentType had the same alias and a bug in Umbraco using MemberType.GetByAlias returned the DocumentType instead of the MemberType. I've reported this issue on Codeplex so please vote 

    WorkAround

    Make sure your aliasses are unique

    Cheers,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft