asked on December 6, 2023

Hello All,

 Scenario in my application I am getting template for specific document and display document metadata in a new form.  my template has a dynamic field. (a list is based on another selected item from other list),

I can get all template field types except these dynamic fields, could anyone help me. 

ie. I want to populate dynamic fields in my form like in Laserfiche metadata form. 

the below code gets only the first items for list one.

var logic= template.GetFormLogicRules();
foreach (var item in logic)
                {
 FieldValueCollection fc = new FieldValueCollection();
LfDataReader reader = item.GetDataReader(fc);
                    while (reader.Read())
                    {
                        var xx = reader.GetString(0);
                    }      


}

 

thanks 

0 0