omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Modify Contact Info

    Pythonista
    2
    2
    1219
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • samwine
      samwine last edited by

      Is it possible to modify information for an existing contact using the contacts module?

      What I want to do is be able to choose a contact (or have the contact name already defined in the script) and then add new info to the "social profile" field. Can anyone get me started on a script that does this?

      1 Reply Last reply Reply Quote 0
      • JonB
        JonB last edited by

        You will want to use contacts.find to find a specific name. Then, update the field. Then use contacts.save() to update the contacts in iOS.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors