Friday, 19 June 2015

Assign value to Multilist Field to given sitecore item

                                MultilistField mf = myitem.Fields["Field Name"];
                              string query = String.Format(CultureInfo.InvariantCulture, "fast:/sitecore/content/....//*[@Name='{0}']", searchText);

                                            Item reference = master.SelectSingleItem(query);
                                            if (reference != null)

No comments:

Post a Comment

Featured post

Getting Started With SOLR

Getting Started with Solr ·           Features o    Hit highlighting o    Auto correction o    Faceted Search o    Multi lan...