Add tag
Add new tag to file or folder
Function AddTag(Val Token, Val Path, Val Tag) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Path | --path | String | ✔ | Path to the object for which the tag needs to be created |
Tag | --tag | String | ✔ | Tag text |
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
1C:Enterprise/OneScript code example
Tag = "Important";
Token = "sl.B_msgdiPWezavqeIij7xO0CoH6lFDkcxzp9wOv6yyW7dixfCrQAW21oFDnvVjkfZa4UegdzdP0...";
Path = "/New/mydoc.docx";
Result = OPI_Dropbox.AddTag(Token, Path, Tag);
- Bash
- CMD/Bat
oint dropbox AddTag \
--token "***" \
--path "/New/mydoc.docx" \
--tag "Important"
oint dropbox AddTag ^
--token "***" ^
--path "/New/mydoc.docx" ^
--tag "Important"
Result
{}