i created 2 picklist named "Pays" and "Region" in the lead entity, then i upload the xml file as web resources :
<DependentOptionSetConfig entity="lead" >
<ParentField id="new_region_fr"
label="Région">
<DependentField id="new_departement"
label="Département" />
<Option value="100000000" label="Alsace">
<ShowOption value="100000000"
label="Bas-Rhin" />
<ShowOption value="100000001"
label="Haut-Rhin" />
</Option>
<Option value="100000001" label="Aquitaine">
<ShowOption value="100000002"
label="Dordogne" />
<ShowOption value="100000003"
label="Gironde" />
</Option>
</ParentField>
</DependentOptionSetConfig>
i respected all steps in the link :
https://msdn.microsoft.com/en-us/library/gg594433.aspx
but, all value visible in the department !
any solution
*This post is locked for comments
Solution :
In the Onload event for the form, configure the event handler to call the SDK.DependentOptionSet.init function and pass in the name of the XML web resource as a parameter. Use the field on the Handler Properties dialog box to enter: "sample_TicketDependentOptionSetConfig" not "sample_TicketDependentOptionSetConfig.xml"
into the field Comma separated list of parameters that will be passed to the function.
because "sample_TicketDependentOptionSetConfig.xml" can generate error "Server error 404 nto found "
i added SDK.DependentOptionSet.js and SystemsOptionSetConfig.xml
"404 Not Found" web resource not found !
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,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156