Forum Discussion

PerBonomi's avatar
11 years ago

Not writing to database

Hi there. I have some jquery in the community header that writes values to every user. But, for about half our users it's not writing anything and I can't figure out why.

 

This is the code that writes the value:

$.post('/restapi/vc/users/id/${user.id}/profiles/name/field1/set', {value: '' + arLastLoginDate});

 

Has anyone run into a similar issue?

13 Replies

  • Thanks so much for your help, good and fast, both of you. I learned something new and I think I'll be seeing mobile users' data now too.

  • NicoB's avatar
    NicoB
    Lithium Alumni (Retired)
    11 years ago

    Always happy to help PerBonomi

    It takes one kudo to make a developer happy :)

  • nathan's avatar
    nathan
    Executive
    11 years ago

    You're welcome. If only there was some kind of mechanism for demonstrating appreciation for a particular post :smileywink: