Copied to clipboard

Flag this post as spam?

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

  • Marcin Zajkowski 97 posts 558 karma points MVP 2x c-trib
    Jul 15, 2019 @ 12:35
    Marcin Zajkowski

    MultiUrlPicker casting / creating strongly typed objects

    We're in the middle of switching from currently Obsolete RJP.MultiUrlPicker as a package into the built-in version of it in Umbraco Core.

    In one of the solutions we're using the picker as a Macro param and we were retrieving the value of it as a string and casting it into the collection of links using new MultiUrls() class which is now obsolete and not present in the codebase.

    What's the best way to approach it now? Should we write our own serialization/deserialization then or it may be somehow simplified and we don't know how? We're using GetParameterValue method so far and it works only with string being requested and then serialization needs to happen to make it done.

Please Sign in or register to post replies

Write your reply to: