Copied to clipboard

Flag this post as spam?

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


  • Ernst Utvik 123 posts 235 karma points
    Apr 03, 2013 @ 16:04
    Ernst Utvik
    0

    Add document to ucomponents Autocomplete via usercontrol?

    Is this possible? Passing the id of a node like this:

    doc.getProperty("autocompletePropertyAlias").Value = "1999";

    Adds a value to umbraco.config but the autocomplete datatype in the backend does not see the value and overwrites it on next save.

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Apr 03, 2013 @ 16:29
    Hendy Racher
    100

    Hi Ernst,

    Is this the XPath AutoComplete, or the legacy one ?

    The above should work if using the legacy one, and it's set to store it's data as CSV.

    Hendy

     

  • Ernst Utvik 123 posts 235 karma points
    Apr 03, 2013 @ 18:47
    Ernst Utvik
    0

    Its the legacy one. Doesnt seem to do it for me. Im on Umbraco 6.0.3 using the old deprecated api calls. Maybe thats what I get for being lazy? ;) Thnx anyway!

  • Ernst Utvik 123 posts 235 karma points
    Apr 08, 2013 @ 21:58
    Ernst Utvik
    1

    My bad. Adding nodeId as described above does work. Adding a nodeName doesnt. #h5is

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies