Copied to clipboard

Flag this post as spam?

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

  • Jesse Andrews 41 posts 136 karma points
    Mar 14, 2018 @ 01:52
    Jesse Andrews

    Is it possible to access the guids of the datatypes embedded within Archetype?

    I'm working on integrating Archetype with Nexu, but I've run into an issue. Archetype doesn't expose the guid of it's embedded datatypes, at least not on ArchetypeModel (it's an internal property). I also found a helper method to get it, but it's a private method (see here). Is there a way to get that data starting from a data type id?

  • Dave Woestenborghs 2752 posts 8343 karma points MVP 3x admin c-trib
    Mar 14, 2018 @ 10:18
    Dave Woestenborghs

    Hi Jesse,

    That's exactly why I decided not to support Archetype in Nexu.

    I had plans to integrate but stumbled on the same issues as you did :

    If you can get it to work, would love to see a PR then :-)


  • Jesse Andrews 41 posts 136 karma points
    Mar 14, 2018 @ 21:30
    Jesse Andrews

    Yeah I figured as much. I've been able to get it working, though it's a bit messy. Had to add a fair bit of logic in the IsParserFor method to gather the guids of the child data types. I'll create a pull request for you to review.

Please Sign in or register to post replies

Write your reply to: