Post

1 follower Follow
0
Avatar

silent mode for attaching files?

I am setting up an automated update system using the PHP client and it is going really well so far.

With the calls to item->create and item->update I am turning on 'silent' so that these events do not show up in the activity report.

Is it possible to do the same for file->attach ?

MHT Portal Answered

Please sign in to leave a comment.

5 comments

0
Avatar

 file->attach does not currently support the silent parameter, but we will look into the possibility of adding it.

Casper Fabricius 0 votes
0
Avatar

You can also attach the files directly in the create and update item API calls. Just pass in the list of file ids that should be on the item in the "file_ids" attribute.

I will get the silent parameter added to the attach file call also.

Christian Holm 0 votes
0
Avatar

Wonderful! I have actually implemented your previous suggestion to attach the files when the item is created or updated, but I am sure this will be useful too.

MHT Portal 0 votes