Forum Discussion

cblown's avatar
cblown
Boss
12 years ago

Lithium Custom Settings - Unable to SET as user

We have a custom setting called user.data (Lithium have setup for us) that is scoped to wcu (world, community, user).   We are trying to SET this custom setting using AJAX - the user account has GR...
  • ChiaraS's avatar
    ChiaraS
    12 years ago

    I'm not sure, but I would try to use a custom user profile instead of settings.
    I did a quick test and the code works fine in that case, the call would be something like:

     

    $.post("/restapi/vc/users/self/profiles/name/user.data/set", {value: "my user data"})

    Check with Lithium support if they can change the current definition to a "profile" one...