I have linked Components in my Component's custom metadata, I want to read tcm uri of them on Content Delivery (WebForms Applciation not DD4T).
Here is how Custom_Meta
Table in Broker looks like after publishing Component :
I have tried following code using Tridion API for reading Custom Meta but it didn't help: This code gives me only one value of Article (linked Component), is there any way to read multi valued linked Components in metadata?
ComponentMetaFactory metaFactory = new ComponentMetaFactory(publicationId);
IComponentMeta componentMeta = metaFactory.GetMeta("tcm:XX-XXXX-XX");
CustomMeta customMeta = componentMeta.CustomMeta;
StringBuilder meta = new StringBuilder();
foreach (DictionaryEntry de in customMeta.NameValues)
{
meta.AppendFormat("<{0}>{1}</{2}>", de.Key, ((NameValuePair)de.Value).Value, de.Key);
LogManager.WriteDebugLog("key My key de.Key : " + de.Key + ", value :" + ((NameValuePair)de.Value).Value, "");
}