changing properties to multivalue | Community
Skip to main content
Level 3
November 11, 2024
Solved

changing properties to multivalue

  • November 11, 2024
  • 2 replies
  • 474 views

At first I used single values for a property businessCategories. but now I edited field in page properties as multifield.

Now I have to change all the previous values in each page's jcr:content to multifield. How to do this bulk operation of changing to multifeld? It is throwing error when i use data importer to bulk import properties saying "[L@453fkgiofj] is cannot be saved in /conent/..../..".

 

if possible provide solution with no code changes.

Thankyou.

Best answer by kaikubad

When you make change on component it will update all of the places on content where you have used it. But existing data might be lost based on your implementation.

 

check the documentation here https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/granite/ui/components/coral/foundation/form/multifield/index.html

2 replies

kaikubad
Community Advisor
kaikubadCommunity AdvisorAccepted solution
Community Advisor
November 11, 2024

When you make change on component it will update all of the places on content where you have used it. But existing data might be lost based on your implementation.

 

check the documentation here https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/granite/ui/components/coral/foundation/form/multifield/index.html

Manu_Mathew_
Community Advisor
Community Advisor
November 23, 2024

@alisyed1  "[L@453fkgiofj] is cannot be saved" -- This error occurs usually when the importer encounters incompatible data types, is the type changed to type String[] from String for the bulk importer?