Join Discord
Powered by
Using Umbraco Forms Magicstring in Umbraco 11
# help-with-umbraco
m
mvg013
09/21/2023, 10:54 AM
Hi, It's my first time posting in this channel so i'm not sure if this is the right place but i got a question. I'm trying to use a magicstring in a custom forms workflow but the {value} is nog recognized in Umbraco 11 (in umbraco 8 it is) how can i fix this? currently checking this article
https://docs.umbraco.com/umbraco-forms/developer/magic-strings#how-can-i-parse-these-values-elsewhere-in-my-c-code-or-razor-views
but i can't get it working in my workflow. If someone could help me that would be awesome!!
k
krebil
09/22/2023, 8:52 AM
Normally Umbraco forms questions should be posted under hq-commercial-products. In the bottom of the article you linked there is a section explaining the ´´ ´IPlaceholderParsingService´ Which can be used to parse the magic strings in other contexts. I'm pretty sure that if you inject that service into you workflow you can use that to parse your magic strings
https://docs.umbraco.com/umbraco-forms/developer/magic-strings#how-can-i-parse-these-values-elsewhere-in-my-c-code-or-razor-views
11
Views
Previous
Next