Updating an existing embed attachment

Comments

4 comments

  • Dominic Sayers

    If an embed is already attached to an item in an app, can the same embed be attached to a different item in a different app?

    What if the other item is in a different workspace?

    What are the rules for attaching an embed to an item?

    0
    Comment actions Permalink
  • Dominic Sayers

    When I get the error, it's trying to do something like what follows:

    The Podio item already has an embed in that field. Here, for example, is the values array for that field:

    ```

    [{"embed"=>{"embed_id"=>111730353, "embed_html"=>nil, "description"=>nil, "original_url"=>"http://www.ablrate.com", "url"=>"http://www.ablrate.com", "hostname"=>"ablrate.com", "embed_height"=>nil, "resolved_url"=>"http://www.ablrate.com", "title"=>"http://www.ablrate.com", "type"=>"unresolved", "embed_width"=>nil}, "file"=>nil}]

    ```

    I am trying to give it a different embed by supplying a value like this:

    ```

    [{"embed"=>111108381}]

    ```

    111108381 is a valid embed_id.

     

    0
    Comment actions Permalink
  • Marc Høegh

    Hi Dominic,

    You are getting the error because an Embed can only be attached to a single resource at a time. Unfortunately, there is no way of 'transferring' an Embed from one place to another. You will have to create a new one for the second item.

    Marc

    0
    Comment actions Permalink
  • Dominic Sayers

    Thanks Marc. I think that could explain what I'm seeing.

    If I understand correctly, if I'm syncing a contact with multiple Podio apps then I should store Podio metadata for each app.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk