file metadata/Note

  • 1
  • Question
  • Updated 1 week ago
file metadata -- I am using the powershell sharefile snapin and can get all file names and ids using modified version of one of the sample scriptsI am not able to pull note or metadata from file (using $item.id) ; or post metadat to file. Not sure what switch i should be using to pass the json , -Body or -BodyText errors. I am new to both powershell and Citrix.
$m = '{ "meta-name":"metadata_name" , "meta-Value":"metadata_value" }' | ConvertFrom-Json
Send-SFRequest $sfClient -Method POST –Entity Items -Id "fi7d34de-0ca2-1997-23a7-346df2304d47" -Body $m

Photo of MBMeftahi

MBMeftahi

  • 2 Posts
  • 0 Reply Likes

Posted 2 weeks ago

  • 1
Photo of MBMeftahi

MBMeftahi

  • 2 Posts
  • 0 Reply Likes
I have resolved this and can add and read metadata to items(files)