Address FieldΒΆ
Note: As of 08/10/2019, this is not implemented in the mobile app client framework.
This allows you to define the LOVs that fetch the values for country
, state
, county
, city
, zipcode
fields when adding an address from the mobile app client. Each of these are defined in its own section inside the addressfield
definition. The fields that are required to fetch the value from the LOV should also be mapped.
Example code:
addressfield {
country {
source = FndTstOffline.IsoCountries; // ProjectionName.EntitySetName
countrycode = CountryCode;
country = Description;
}
state {
source = FndTstOffline.StateCodeLov;
countrycode = Country;
state = StateCode;
statename = StateName;
}
county {
source = FndTstOffline.CountyCodeLov;
countrycode = Country;
state = StateCode;
county = CountyCode;
countyname = CountyName;
}
city {
source = FndTstOffline.CityCodeLov;
countrycode = Country;
state = StateCode;
county = CountyCode;
city = CityCode;
cityname = CityName;
}
zipcode {
source = FndTstOffline.ZipCodeLov;
countrycode = Country;
state = StateCode;
county = CountyCode;
city = CityCode;
zipcode = ZipCode;
}
}