新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Java SDK Update metadata attribute on a file

回答済み
新規投稿

コメント

2件のコメント

  • sgarlanka

    Is "foo" already a metadata attribute on the file or is something you are adding. If you are adding it, the Github code should work. If you are updating the attribute, then you have to do file.updateMetadata(file.getMetadata().replace("/foo", "bar")) as shown here.

    0
    コメントアクション Permalink
  • smartduck

    Thanks for your feedback.


    The problem was that I used the displayed name as path.

    If i log in, in the Box web app I see 'retentie' diplayed as metadata attribute.
    The attribute has another name as id 'retentieConversion'.

     

    Problem solved!

    0
    コメントアクション Permalink

サインインしてコメントを残してください。