In RepositoryAccess, the logic associated with dynamic fields is accessible through the FormLogicRuleInfo class. If you want to get pre-existing logic rules, the TemplateInfo object has a GetFormLogicRules method that returns an array of FormLogicRuleInfos, and a HasFormLogicRules method that returns a boolean indicating whether there are logic rules associated with the Template. If you want to interact with the external tables that the dynamic fields use, you can use the LfExternalTableInfo class. To retrieve the values that should be available in a field with dynamic rules, you will need to use the GetDataReader method on the relevant FormLogicRuleInfo, and read the appropriate data out of the returned LfDataReader. All of this is rather complex, so you will want to consult your SDK documentation and do some experimentation to get a feel for how it all works.