Hello
We have been trying to use the uploader, it works well but we are facing issue while setting multi-value property. For example, we are using the below snippet for setting the value
var props = [];
props[0] = 'multiValuePropertyName';
var values = [];
values[0] = ["value1","value2","value3","value4"];
Below is the error
E_BAD_VALUE: The value given for a property or list element lies outside the permitted range or value set, or exceeds the maximum length allowed. The value ([object Object]) specified for property "MultiValue Property Name" is not within the range of permitted values
I believe it is expecting string value instead of string array.
Is it so that multivalue properties cannot be set using ECM File Uploader or something needs to be changed ?
Thanks
------------------------------
Lakshya Agarwal
------------------------------
Original Message:
Sent: Wed February 08, 2023 01:07 AM
From: Witold Olewniczak
Subject: BAW. How upload file to ECM (filenet) with two custom properties?
I am new in BAW. I try upload file to ECM (Filenet) and save 3 custom properties. I put on coach controls:
- ECM File Uploader
- 2 x Text Field (digType, digDesc)
I can upload file but I don't know how save its properties.ECM File Uploader don't retrun any ID of uploaded file.
Can anyone tell me exactly how to do it?
------------------------------
Witold Olewniczak
------------------------------