Accessing Custom Meta Field Data - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Accessing Custom Meta Field Data

  • Accessing Custom Meta Field Data
  • Hi,

    I can't seem to find a way to access custom meta fields for an image in a image library, can someone help out with this?

    Thanks,
    Steve
  • Hi,

    var itm = App.WorkWith().Albums().Where(ni => ni.Title == "MainPageRotatorImages").Get().SingleOrDefault();
    string str = itm.Images.Where(img => img.Id == ImageID).FirstOrDefault().GetValue("TextAlignment").ToString();

    I figured it out. It was the album that I needed not images.

    Thanks,