i have added lead entity to BingMapConfig.xml and have carefully filled the attributes.. yet i am getting this alert (attached) when the dashboard loads initially and when i choose lead(Display Name: Prospect) on the dashboard dropdown and click Load. I have tried the same with opportunity entity also and the same alert box appears and there is no pin for either of the entity records on the dashboard. Please guide.. the account and contact entities work fine though.
Comments: Yes Atul, i figured that out, used fullname and it works beautifully! But the opportunity still doesnot work, here is the node for opportunity: This entity has custom fields that i am using in this.. would you need the xml for this opportunity entity? <entity name="opportunity" displayname="Hot Prospect"> <fetchXml> <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="opportunity"> <attribute name="amg_contactfirstname" /> <attribute name="amg_city" /> <attribute name="amg_latitude" /> <attribute name="amg_longitude" /> <attribute name="websiteurl" /> <filter type="and"> <condition attribute="statecode" operator="eq" value="0" /> <condition attribute="ownerid" operator="eq-userid" /> {0} {1} </filter> </entity> </fetch> </fetchXml> <address> <latitude name="amg_latitude"></latitude> <longitude name="amg_longitude"></longitude> </address> <Conditions> <mapcondition text="Name Contains: "> <condition attribute="amg_contactfirstname" operator="like" value="%{0}%" /> <value type="string" default=""></value> </mapcondition> <mapcondition text="City: "> <condition attribute="amg_city" operator="like" value="%{0}%" /> <value type="string" default=""></value> </mapcondition> </Conditions> <displaypanel> <links> <link text="Website"> <field name="websiteurl"></field> </link> </links> <list> <listitem text="Name"> <field name="amg_contactfirstname"></field> </listitem> <listitem text="City"> <field name="amg_city"></field> </listitem> </list> <tooltip text="Hot Prospect Pushpin"> <field name="amg_contactfirstname"></field> <color name="red"></color> <zoomlevel name="10"></zoomlevel> </tooltip> </displaypanel> </entity>
Comments: Yes Atul, i figured that out, used fullname and it works beautifully! But the opportunity still doesnot work, here is the node for opportunity: This entity has custom fields that i am using in this.. would you need the xml for this opportunity entity? <entity name="opportunity" displayname="Hot Prospect"> <fetchXml> <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="opportunity"> <attribute name="amg_contactfirstname" /> <attribute name="amg_city" /> <attribute name="amg_latitude" /> <attribute name="amg_longitude" /> <attribute name="websiteurl" /> <filter type="and"> <condition attribute="statecode" operator="eq" value="0" /> <condition attribute="ownerid" operator="eq-userid" /> {0} {1} </filter> </entity> </fetch> </fetchXml> <address> <latitude name="amg_latitude"></latitude> <longitude name="amg_longitude"></longitude> </address> <Conditions> <mapcondition text="Name Contains: "> <condition attribute="amg_contactfirstname" operator="like" value="%{0}%" /> <value type="string" default=""></value> </mapcondition> <mapcondition text="City: "> <condition attribute="amg_city" operator="like" value="%{0}%" /> <value type="string" default=""></value> </mapcondition> </Conditions> <displaypanel> <links> <link text="Website"> <field name="websiteurl"></field> </link> </links> <list> <listitem text="Name"> <field name="amg_contactfirstname"></field> </listitem> <listitem text="City"> <field name="amg_city"></field> </listitem> </list> <tooltip text="Hot Prospect Pushpin"> <field name="amg_contactfirstname"></field> <color name="red"></color> <zoomlevel name="10"></zoomlevel> </tooltip> </displaypanel> </entity>