Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a colon inside a custom field name is interpreted by Keeper as a new custom field #4

Open
Surowa opened this issue Feb 7, 2022 · 2 comments

Comments

@Surowa
Copy link

Surowa commented Feb 7, 2022

When using, for a custom field named company:customfield:salt and a value of false, using this to set it:
$custom = "company:customfield:salt : true"
Add-KeeperRecord -UpdateOnly -Title $title -Login $login -GeneratePassword -Custom $custom

It creates a new custom field named "company" and a value of "customfield:salt : true"
How to escape this properly?

@tonylanglet
Copy link
Owner

Hello, are you using comma to separate the different custom fields?

PARAMETER CustomFields
Optional [string], requires the following syntax "key1:value1,key2:value2"...

@Surowa
Copy link
Author

Surowa commented Feb 7, 2022

Hi, yes, e.g.:
$custom = "company:customfield:salt : true, company:custom:filler : true"
Add-KeeperRecord -UpdateOnly -Title $title -Login $login -GeneratePassword -Custom $custom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants