Copied to clipboard

Flag this post as spam?

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


  • BJ Patel 84 posts 210 karma points
    Jul 06, 2017 @ 10:05
    BJ Patel
    0

    Can we get dictionary item value in Models Builder Partial Class ?

    Hi,

    I am using Umbraco 7.6 And And using Model Builder (EnableAPI)

    As I have extended on the Models mean to say have created a partial class to perform some manipulations.

    So now my query is that can we get the value of dictionary Item in this partial class?

    If yes Kindly guide.

    Thanks

    BJ

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Jul 06, 2017 @ 11:41
    Alex Skrypnyk
    0

    Is this working for you?

    Umbraco.GetDictionaryValue("key")
    
  • BJ Patel 84 posts 210 karma points
    Jul 06, 2017 @ 12:29
    BJ Patel
    0

    Thank Alex for responding,

    But sorry it's not working.

  • Chan Nyein Thu 1 post 71 karma points
    Jul 23, 2018 @ 11:06
    Chan Nyein Thu
    0

    Umbraco.Fields("dictionarykeyaliasName")

Please Sign in or register to post replies

Write your reply to:

Draft