function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

associate attached files in myFiles in chatter with record using API



I can upload my attachment to myFiles in chatter using API.


Can anyone help me out how to associate the attached files with record i.e. share them with a record using API.


this will be a great help to me.