Dashboard - Get a Church Record

Last Updated 7/31/2015
 @BRT.Lister(tableId:"Contacts",viewId:"Churches", pageSize:1,
    fields: new[] {"Name","GCFANumber","ConferenceChurchNumber"},
    condition:new ConditionMeta.CompareCondition() {Id="Id", Op=ConditionOperators.Equal, 
        Value= new ConditionMeta.ConstantValue {Value = (int)PageData["MyId"]}}, 
    template:
        @<div>
           @foreach(EngineCore.Data.EngineRecord record in item) {
              <div>
                  <p>Church Name: @record.GetString("Name")</p>
                  <p>Church Number: @record.GetString("ConferenceChurchNumber")</p>
                  <p>GCFA Number: @record.GetString("GCFANumber")</p>
               </div>
            }
        </div>)  

Article Topics

Code Snippets

Want to learn more?

Call 800-924-5220 or

Free trial