andrewbutenko / dependentoptionset_pcf Goto Github PK
View Code? Open in Web Editor NEWDependent Optionset PCF
License: MIT License
Dependent Optionset PCF
License: MIT License
Hi,
I've implemented the dependent option set PCF, as this gives the clearly missing functionality back into Dynamics 365 & Power Platform.
However, I've noticed that the field doesn't lock based on the records status. For example used on an Opportunity Form any user can edit the value of the field with the control applied when the Opportunity is in a Won/Lost state.
I've implemented a workaround using an RT Workflow to cancel with an error should that field change and the status not equal Open. However, if it could be locked on closed records that would be great.
Thanks
Peter
Ignore this - I realised that there were typos in my config file!
I almost got it implemented in league with what is listed in steps # 1 thru 9.
I created a configuration web resource in league with step # 4 that contains the following:
[ { "parentOption": 923190001, "childOptions": [923190012, 923190013, 923190021, 923190022] }, { "parentOption": 923190006, "childOptions": [923190010, 923190011] }, { "parentOption": 923190003, "childOptions": [923190023, 923190024, 923190025, 923190026, 923190027, 923190028, 923190029, 923190030, 923190032, 923190032] }, { "parentOption": 923190004, "childOptions": [923190006, 923190007] }, { "parentOption": 923190002, "childOptions": [923190014, 923190014, 923190016] }, { "parentOption": 923190000, "childOptions": [923190000, 923190001, 923190002] }, { "parentOption": 923190007, "childOptions": [923190017, 923190018, 923190019, 923190020] }, { "parentOption": 923190005, "childOptions": [923190008, 923190009] } ]
However, as soon as I get to the part when I must select the configuration property, that is where both version 1.0.0.0 and 1.0.0.1 do not align with what is in the instructions.
The expectation per step # 9 is that I can Insert the webresource name you created in step 4 into the "Configuration" property. as shown below.
However, the reality is that I am forced to choose a field on the form and have no mechanism to select a web resource.
The SingleLine.Text type is the only option that I can select for the configuration, and it does not enumerate or make available the web resource field that I need to use.
I am only able to select a text field for use in the configuration as shown below.
Am I missing something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.