Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter van den Dungen 66 posts 365 karma points
    Nov 14, 2019 @ 19:15
    Peter van den Dungen
    0

    Call controller from document type

    Hello guys,

    I am new to Umbraco and dealing with a little challenge.

    I added a Umbraco.Tags editor to a document type what works really cool!

    Now I want to validate a given code (tag) (on-the-fly) as soon as I press enter, it has to call a (surface/umbracoJson) controller what will call a external API, the result (a string) should be added to the 'Validation result' (by more results as a comma separated value) When a tag is deleted, the result should update as well.

    See my idea in the image below:

    code validation custom data type

    Is this possible, so yes.. How? Should I create a custom data type or property editor?

    Can someone give me a little bit advice?

    Thank you so much in advance, have a good day!

  • Peter van den Dungen 66 posts 365 karma points
    Nov 16, 2019 @ 15:27
    Peter van den Dungen
    0

    I fixed it simply with the Umbraco.Tags and a label.. The label get its content on the Content Saving event!

Please Sign in or register to post replies

Write your reply to:

Draft