I'm trying to access a PreValue Source from within a custom Workflow type. The idea is that the workflow has a custom dropdown field populated with the values from an Umbraco Forms SQL PreValue source.
Previously in Umbraco 7 I could instantiate an instance of PreValueSourceStorage, loop through all PV sources until I found the one I wanted and then use an instance of PreValueSourceController to get the values for that PV source, however the classes have been moved around and this no longer works.
Has anyone encountered this issue and come up with a solution for Umbraco 8?
Programatically Accessing PreValue Sources
I'm trying to access a PreValue Source from within a custom Workflow type. The idea is that the workflow has a custom dropdown field populated with the values from an Umbraco Forms SQL PreValue source.
Previously in Umbraco 7 I could instantiate an instance of PreValueSourceStorage, loop through all PV sources until I found the one I wanted and then use an instance of PreValueSourceController to get the values for that PV source, however the classes have been moved around and this no longer works.
Has anyone encountered this issue and come up with a solution for Umbraco 8?
Thanks in advance!
is working on a reply...