hi
please do suggest me.it would be of lot of help.
thank you
*This post is locked for comments
hi
please do suggest me.it would be of lot of help.
thank you
*This post is locked for comments
hi akanksha,
please check this creenshot. I jus changed label names and specified the same in xml file. I also used proper schema for out of the box lead entity which is "lead". please suggest if we can achieve same functionality by any other way (except lookups and creating entities). pls help
thank you
hi
akanksha I have given proper schema name and label name for option sets. and I am also sure abt it because child field is getting locked onload of form (which tells xml has been mapped properly) . but child field is not releasing the lock on selection of option on option sets in parentfield. how can I know whats wrong and why child is not releasing its lock on selection.
I have observed that the schema and label is not correct in the XML.
Please verify XML.
You can refer this link : https://thabisomotloung.wordpress.com/2015/02/17/dependent-option-sets-in-ms-crm-2015/
<DependentOptionSetConfig entity="Lead" >
<ParentField id="new_state"
label="state">
<DependentField id="new_city_"
label="city_" />
<Option value="100,000,000"
label="karnataka">
<ShowOption value="100,000,000"
label="bangalore" />
<ShowOption value="100,000,001"
label="mangalore" />
</Option>
<Option value="100,000,001"
label="Andrha_Pradesh">
<ShowOption value="100,000,002"
label="hyderabad" />
<ShowOption value="100,000,003"
label="nellore" />
<ShowOption value="100,000,004"
label="vishakpatnam" />
<ShowOption value="100,000,005"
label="chittoor" />
</Option>
</ParentField>
</DependentOptionSetConfig>
hi akanksha
sorry I have shared same screenshot of city option set twice.this is one more.
HI akanksha,
this is my xml code and two option sets called state and city_ .
<DependentOptionSetConfig entity="Lead" >
<ParentField id="new_state"
label="state">
<DependentField id="new_city_"
label="city_" />
<Option value="100,000,000"
label="karnataka">
<ShowOption value="100,000,000"
label="bangalore" />
<ShowOption value="100,000,001"
label="mangalore" />
</Option>
<Option value="100,000,001"
label="Andrha_Pradesh">
<ShowOption value="100,000,002"
label="hyderabad" />
<ShowOption value="100,000,003"
label="nellore" />
<ShowOption value="100,000,004"
label="vishakpatnam" />
<ShowOption value="100,000,005"
label="chittoor" />
</Option>
</ParentField>
</DependentOptionSetConfig>
two option sets- state and city_
Hi Murali,
This error means that the mapping you have given in the XML is not correct.
Please map the XML with correct schema and try again, if still doesn't help please share the screen shot.
Thanks
PS: Please mark the answer as verified if found helpful.
hi mohsin Ali ,
I have followed the same steps given in your link and have configured properly.now when try to debug.i am getting source map error.do you know what it means.pls help
thank you
Please follow following walk-through this might give you better understanding of dependent option sets.
balugajjala.wordpress.com/.../dependent-picklist-optionset-in-crm-2016
Please follow following walk-through this might give you better understanding of dependent option sets.
https://balugajjala.wordpress.com/2017/03/24/dependent-picklist-optionset-in-crm-2016/
hi
when I try to debug the code.i am getting source map error.
please help me.
thank you.
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,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156