- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2020 03:00 PM
Hi,
What is the delimiter or format to use for multi-valued attribute on form-data while creating a document using REST API from postman. Following pic could depict the question. Many thanks in advance.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2020 04:22 PM
Following is the solution for uploading multivalued attribute along with content using form data, repeat property name in form data which will be read as Aarray by REST API
Thanks
Jayakumar M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2020 08:48 PM
Use the workaround suggested by @jaya437
(ACSCE, AWS SAA, Azure Admin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2020 12:17 PM
As far as i know, setting multi valued property with multiple value at once was not supported via public api "alfresco/api/-default-/public/alfresco/versions/1/nodes/".
You can try sending values ", " or ";" separated or [value1,value2] and see if it works (be cautious about the special chars such as {, } in the value), else Contact support and open an enhancement ticket based on their response.
(ACSCE, AWS SAA, Azure Admin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2020 05:19 PM
Thank you for replying.
I have tried all sugested options, but none works.
Values are recorded as follows individually where as the expectation is ["Pol001","pol002"]:
["{Pol001,pol002}"]
["'Pol001','pol002'"]
["['Pol001','pol002']"]
["Pol001;pol002"]
["Pol001,Pol002"]
["{Pol001,Pol002}"]
Any more suggestions please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2020 05:53 PM
Like mentioned earlier, multile values were not supported earlier And looks like it is still not supported. Contact support and open an enhancement ticket based on their response.
(ACSCE, AWS SAA, Azure Admin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2020 07:00 PM
Thank you, a case has been raised with Alfresco for the same. I will update once we hear back for the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2020 01:24 AM
Hi @jaya437,
Have you received any update on the case raised with Alfresco? I'm also looking for solution for the same.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2020 04:22 PM
Following is the solution for uploading multivalued attribute along with content using form data, repeat property name in form data which will be read as Aarray by REST API
Thanks
Jayakumar M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 08:59 AM
@jaya437 seems like alfresco support is suggesting this workaround.
(ACSCE, AWS SAA, Azure Admin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2020 08:41 PM
Any update on this? I'm having the same issue creating document with muti-valued property.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2020 08:48 PM
Use the workaround suggested by @jaya437
(ACSCE, AWS SAA, Azure Admin)