I have tried bt its not working.
*This post is locked for comments
I have tried bt its not working.
*This post is locked for comments
Hi Anant,
You can easly do it by javascript/jQuery AJAX call with oData query.
Your oData query is something like that
YOUR_CRM/xrmservices/2011/OrganizationData.svc/new_citySet?$select=new_country,new_pincode&$filter=new_cityId eq guid'YOUR CITY UNIQUEIDENTIFIER'
If you're not similar with oData you can use oData query designer tools / solutions like https://github.com/jlattimer/CRMRESTBuilder
i have data stored in the CRM.
if city name is unique(the lookup field can not have duplicate records), then we can set the state as well as country also based on the pincode value.
Hi Anant,
Are you using 3rd party API like Bing, Yahoo, Google or you have data stored in CRM or XML?
Also I dont understand how can u set Country based on City and same City name exist in multiple country.
Thanks,
PS
Share your code here
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156